PostGIS  3.0.6dev-r@@SVN_REVISION@@
lwrandom.c File Reference
#include "lwrandom.h"
#include <stdlib.h>
#include <stdint.h>
#include <stddef.h>
#include <time.h>
#include <unistd.h>
Include dependency graph for lwrandom.c:

Go to the source code of this file.

Functions

void lwrandom_set_seed (int32_t seed)
 
void _lwrandom_set_seeds (int32_t s1, int32_t s2)
 
int32_t _lwrandom_get_seed (size_t idx)
 
double lwrandom_uniform (void)
 

Variables

static unsigned char _lwrandom_seed_set = 0
 
static int32_t _lwrandom_seed [3] = {0x330e, 0xabcd, 0x1234}