Sign in
apache
/
mynewt-core
/
c2f082616361825d8b80beccc072cef6fc13267f
/
.
/
libc
/
baselibc
/
src
/
lrand48.c
blob: a2fc87ae039f57a97dccdd45863ee8fc33f44fc3 [
file
] [
log
] [
blame
]
/*
* lrand48.c
*/
#include
<stdlib.h>
#include
<stdint.h>
extern
unsigned
short
__rand48_seed
[
3
];
/* Common with mrand48.c, srand48.c */
long
lrand48
(
void
)
{
return
(
uint32_t
)
jrand48
(
__rand48_seed
)
>>
1
;
}