JacksEscape/util/rand.h

15 lines
197 B
C
Raw Normal View History

2024-03-26 13:26:22 +08:00
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// returns a double in the [0,1) range.
double rand_Double01();
2024-03-26 13:54:32 +08:00
double rand_DoubleRange(double min, double max);
2024-03-26 13:26:22 +08:00
#ifdef __cplusplus
}
#endif