1 2 3 4 5 6 7 8 9 10 11
/* * nrand48.c */ #include <stdlib.h> #include <stdint.h> long nrand48(unsigned short xsubi[3]) { return (long)((uint32_t) jrand48(xsubi) >> 1); }