☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
prng
/
mrand48.c
☽
☼
libc-top-half/musl/src/prng/mrand48.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#include <stdlib.h>
2
#include <inttypes.h>
3
#include "rand48.h"
4
5
long jrand48(unsigned short s[3])
6
{
7
return (int32_t)(__rand48_step(s, __seed48+3) >> 16);
8
}
9
10
long mrand48(void)
11
{
12
return jrand48(__seed48);
13
}