Sign in
fuchsia
/
zircon
/
/
13ee3dc5e4c46bf127977ad28645c47442ec517d
/
.
/
third_party
/
ulib
/
musl
/
src
/
prng
/
mrand48.c
blob: 01238edfc171aa0b658e0ac4ea5efa2ce98369b0 [
file
] [
log
] [
blame
]
#include
<inttypes.h>
#include
<stdlib.h>
#include
"rand48_impl.h"
long
jrand48
(
unsigned
short
s
[
3
])
{
return
__rand48_step
(
s
,
__seed48
+
3
)
>>
16
;
}
long
mrand48
(
void
)
{
return
jrand48
(
__seed48
);
}