mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-13 17:58:56 +02:00
fixup
This commit is contained in:
parent
6ae32a1e26
commit
b2c64e1850
5 changed files with 7 additions and 14 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue