Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
prng
/
lrand48.c
blob: b0f1bbd05802585bf6e1d55eadec32ef28ae10c9 [
file
] [
log
] [
blame
]
#include
<inttypes.h>
#include
<stdlib.h>
#include
"rand48_impl.h"
long
nrand48
(
unsigned
short
s
[
3
])
{
return
__rand48_step
(
s
,
__seed48
+
3
)
>>
17
;
}
long
lrand48
(
void
)
{
return
nrand48
(
__seed48
);
}