| author | |
| committer | |
| log | 4c0163b69bafce753ee31e1bfa3ae0b5ba37fbf2 |
| tree | 669bb9663a52a3eeaf4c00637cdc0aabd8fe5972 |
| parent | 921d9c9bcba40ca07283fa3607814bb173d7af7b |
1 files changed, 1 insertions(+), 1 deletions(-)
std/rand/ziggurat.zig+1-1| ... | ... | @@ -12,7 +12,7 @@ const std = @import("../index.zig"); |
| 12 | 12 | const math = std.math; |
| 13 | 13 | const Random = std.rand.Random; |
| 14 | 14 | |
| 15 | pub fn next_f64(random: *Random, comptime tables: *const ZigTable) f64 { | |
| 15 | pub fn next_f64(random: *Random, comptime tables: ZigTable) f64 { | |
| 16 | 16 | while (true) { |
| 17 | 17 | // We manually construct a float from parts as we can avoid an extra random lookup here by |
| 18 | 18 | // using the unused exponent for the lookup table entry. |