forked from personal/squiggle.c
savepoint
This commit is contained in:
parent
94ba44dd9e
commit
2ea32e2a47
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -4,10 +4,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
double laplace(double successes, double trials){
|
|
||||||
return (successes + 1)/(trials + 2);
|
|
||||||
}
|
|
||||||
|
|
||||||
double yearly_probability_nuclear_collapse(double year, uint64_t* seed)
|
double yearly_probability_nuclear_collapse(double year, uint64_t* seed)
|
||||||
{
|
{
|
||||||
double successes = 0;
|
double successes = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user