#include "../../squiggle.h" #include #include #include #include double laplace(double successes, double trials){ return (successes + 1)/(trials + 2); } double yearly_probability_nuclear_apocalypse(double year, uint64_t* seed) { double successes = 0; double failures = (year - 1960); } int main() { // set randomness seed uint64_t* seed = malloc(sizeof(uint64_t)); *seed = 1000; // xorshift can't start with 0 int n = 1000 * 1000; free(seed); }