This commit is contained in:
lizzie 2026-03-31 08:23:04 +00:00
parent 6ae32a1e26
commit b2c64e1850
5 changed files with 7 additions and 14 deletions

View file

@ -218,12 +218,6 @@ public:
return t0;
}
u64 GenerateRandomU64() {
const u32 lo = this->GenerateRandomU32();
const u32 hi = this->GenerateRandomU32();
return (u64{hi} << 32) | u64{lo};
}
float GenerateRandomF32() {
// Floats have 24 bits of mantissa.
constexpr u32 MantissaBits = 24;