squiggle.c/examples/more/00_example_template/example.c

17 lines
294 B
C
Raw Normal View History

2023-07-23 21:53:57 +00:00
#include "../../../squiggle.h"
#include "../../../squiggle_more.h"
2023-07-23 21:53:57 +00:00
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
int main()
{
// set randomness seed
uint64_t* seed = malloc(sizeof(uint64_t));
*seed = 1000; // xorshift can't start with 0
// ...
2023-07-23 21:53:57 +00:00
free(seed);
}