1#include <inttypes.h> 2#include <stdlib.h> 3 4#include "rand48_impl.h" 5 6long jrand48(unsigned short s[3]) { 7 return __rand48_step(s, __seed48 + 3) >> 16; 8} 9 10long mrand48(void) { 11 return jrand48(__seed48); 12} 13