ecmascript-types icon indicating copy to clipboard operation
ecmascript-types copied to clipboard

Create a typed Math.random library using generics

Open sirisian opened this issue 3 years ago • 1 comments

WIP issue.

TODO: Include references to the various random number and seeded random proposals.

Stuff like:

Math.random<int32>(0, 100);

TODO: seeded random examples and unseeded ones

TODO: different standard RNG functions for speed and cryptographic ones. Native implementations preferred and custom implementations.

TODO: Ability to create array of typed RNG values

TODO: Ability to fill array with RNG values quickly

TODO: WebWorkers explanations

sirisian avatar Nov 07 '22 21:11 sirisian

https://github.com/sirisian/ecmascript-types/blob/master/random.md

sirisian avatar Dec 01 '22 03:12 sirisian