1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

rand: refactor string sampling functions to remove redundancy (#8830)

This commit is contained in:
Subhomoy Haldar
2021-02-19 14:46:02 +05:30
committed by GitHub
parent 10de905376
commit 745b40c0a3
3 changed files with 103 additions and 34 deletions

View File

@ -9,4 +9,4 @@ pub const (
max_u64_as_f64 = f64(max_u64) + 1
u31_mask = u32(0x7FFFFFFF)
u63_mask = u64(0x7FFFFFFFFFFFFFFF)
)
)