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