mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
parser: use the [has_globals] module attribute, remove the parser global_enabled_mods whitelist (part 2)
This commit is contained in:
@@ -45,8 +45,8 @@ pub fn (mut rng SplitMix64RNG) u32() u32 {
|
||||
pub fn (mut rng SplitMix64RNG) u64() u64 {
|
||||
rng.state += (0x9e3779b97f4a7c15)
|
||||
mut z := rng.state
|
||||
z = (z ^ ((z >> u64(30)))) * (0xbf58476d1ce4e5b9)
|
||||
z = (z ^ ((z >> u64(27)))) * (0x94d049bb133111eb)
|
||||
z = (z ^ (z >> u64(30))) * 0xbf58476d1ce4e5b9
|
||||
z = (z ^ (z >> u64(27))) * 0x94d049bb133111eb
|
||||
return z ^ (z >> (31))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user