This repository has been archived on 2022-05-21. You can view files and clone it, but cannot push or open issues or pull requests.
LEFTONE/util/chaos/xorshift.h
falsycat 84c3a02b9a [RELEASE] u22-v03
This version is submitted to U22 breau.
2020-09-14 00:00:00 +00:00

15 lines
173 B
C

#pragma once
#include <stdint.h>
uint64_t
chaos_xorshift(
uint64_t seed
);
float
chaos_xorshift_fract(
uint64_t seed,
uint64_t* next_seed /* NULLABLE */
);