aboutsummaryrefslogtreecommitdiff
path: root/lib/std/rand.zig
AgeCommit message (Expand)Author
2023-03-21Remove Gimli and Xoodoo from the standard library (#14928)Frank Denis
2023-02-18update std lib and compiler sources to new for loop syntaxAndrew Kelley
2023-02-13std.crypto: add the Ascon permutationFrank Denis
2022-12-06remove most conditional compilation based on stage1Andrew Kelley
2022-11-07rand: add enumValueWithIndexInKryption
2022-11-07rand: add shuffleWithIndexInKryption
2022-09-29std: Replace use of stage1 function pointersominitay
2022-08-30std.rand: make weightedIndex proportions param a const sliceVeikka Tuominen
2022-08-28std.random: add weightedIndex functionJustin Whear
2022-08-22stage2+stage1: remove type parameter from bit builtinsVeikka Tuominen
2022-07-01crypto: add the Xoodoo permutation, prepare for Gimli deprecation (#11866)Frank Denis
2022-05-24Add std.rand.RomuTrioFrancesco Alemanno
2022-05-12std.rand.float: simplify leading zero calculationsErik Arvstedt
2022-05-12std.rand: fixup 'improve random float generation'Erik Arvstedt
2022-05-10std.rand: move tests to a separate test fileAndrew Kelley
2022-05-10std: improve random float generationMahdi Rakhshandehroo
2022-04-14stage2: progress towards stage3Andrew Kelley
2022-03-11Sema: improve detection of generic parametersVeikka Tuominen
2021-12-19stage1, stage2: rename c_void to anyopaque (#10316)Isaac Freund
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
2021-10-29Add argument for `fillFn` to `Random.init`ominitay
2021-10-27std.rand: Refactor `Random` interfaceOminitay
2021-10-25Fix documentation for Random.intominitay
2021-10-10rand: remove workaround for issue #1770Sizhe Zhao
2021-10-04migrate from `std.Target.current` to `@import("builtin").target`Andrew Kelley
2021-08-24remove redundant license headers from zig standard libraryAndrew Kelley
2021-08-19std.rand.Random: add enumValue() (#9583)Justin Whear
2021-07-08Switch rand.DefaultPrng to Xoshiro256++ (#9301)Frank Denis
2021-07-04implement xoshiro256++ (#9298)leesongun
2021-05-08Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgenAndrew Kelley
2021-05-08std: update usage of std.testingVeikka Tuominen
2021-04-15std: change `@import("builtin")` to `std.builtin`Andrew Kelley
2021-01-22std: Update `test ""` to `test` where it makes senseLemonBoy
2020-12-31Year++Frank Denis
2020-12-18std: introduce a thread-local CSPRNG for general useAndrew Kelley
2020-11-19Add builtin.Signedness, use it instead of is_signedTadeo Kondrak
2020-11-06change debug.assert to testing.expect in testsxackus
2020-10-17Make std.meta.Int accept a signedness parameterJan Prudil
2020-10-15std.rand: set DefaultCsprng to Gimli, and require a larger seedFrank Denis
2020-10-15std: move std.meta.refAllDecls to std.testingTadeo Kondrak
2020-09-03update uses of deprecated type field accessVexu
2020-08-25std.rand: promote normal comments to doc commentsAndrew Kelley
2020-08-20Breaking: sort std/crypto functions into categoriesFrank Denis
2020-08-20add license header to all std lib filesAndrew Kelley
2020-05-20make rand function public, fixes crypto benchmarkAndrew Kelley
2020-04-28std.meta.IntType -> std.meta.IntTadeo Kondrak
2020-04-18rand: ref the decls so they get testedAndrew Kelley
2020-03-30std lib API deprecations for the upcoming 0.6.0 releaseAndrew Kelley
2020-03-19update std lib to take advantage of slicing with comptime indexesAndrew Kelley
2020-02-24remove uses of `@ArgType` and `@IntType`Vexu