Sign in
android
/
platform
/
external
/
musl
/
3ea3fcf78a5532e118856846df8adbf3f60ef716
/
.
/
src
/
prng
/
mrand48.c
blob: f4a56e61b2e65b51008b64f076a0bc14fbfeed9d [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<inttypes.h>
#include
"rand48.h"
long
jrand48
(
unsigned
short
s
[
3
])
{
return
(
int32_t
)(
__rand48_step
(
s
,
__seed48
+
3
)
>>
16
);
}
long
mrand48
(
void
)
{
return
jrand48
(
__seed48
);
}