Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
2d72b58070bc43a727b580a46746e87215a60a33
/
.
/
src
/
prng
/
lrand48.c
blob: 07e2b78440f13c6ec5095e82e23cbfded091772e [
file
] [
log
] [
blame
]
#include
<stdlib.h>
#include
<inttypes.h>
#include
"rand48.h"
long
nrand48
(
unsigned
short
s
[
3
])
{
return
__rand48_step
(
s
,
__seed48
+
3
)
>>
17
;
}
long
lrand48
(
void
)
{
return
nrand48
(
__seed48
);
}