mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
b8a6a989c0
This change greatly reduces the number of modules that need to be compiled. The only issue right now is that sometimes when viewing symbol table entries, the aliased symbol is chosen.
17 lines
500 B
C
17 lines
500 B
C
#ifndef COSMOPOLITAN_LIBC_RAND_XORSHIFT_H_
|
|
#define COSMOPOLITAN_LIBC_RAND_XORSHIFT_H_
|
|
#ifdef COSMO
|
|
|
|
#define kMarsagliaXorshift64Seed 88172645463325252
|
|
#define kMarsagliaXorshift32Seed 2463534242
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
uint32_t MarsagliaXorshift32(uint32_t[hasatleast 1]);
|
|
uint64_t MarsagliaXorshift64(uint64_t[hasatleast 1]);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMO */
|
|
#endif /* COSMOPOLITAN_LIBC_RAND_XORSHIFT_H_ */
|