Datasourceforcryptocurrency / node_modules /pure-rand /lib /distribution /UniformBigIntDistribution.js
Download node_modules/pure-rand/lib/distribution/UniformBigIntDistribution.js from Really-amin/Datasourceforcryptocurrency: direct link, hf CLI and curl.
- Browser
- Download file 656 Bytes
-
https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformBigIntDistribution.js
- Command line
-
hf download hf://spaces/Really-amin/Datasourceforcryptocurrency@250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformBigIntDistribution.js
-
curl -L -o UniformBigIntDistribution.js https://huggingface.co/spaces/Really-amin/Datasourceforcryptocurrency/resolve/250b128700538234afd94de5d02f4e054f24823e/node_modules/pure-rand/lib/distribution/UniformBigIntDistribution.js
656 Bytes
| ; | |
| exports.__esModule = true; | |
| exports.uniformBigIntDistribution = void 0; | |
| var UnsafeUniformBigIntDistribution_1 = require("./UnsafeUniformBigIntDistribution"); | |
| function uniformBigIntDistribution(from, to, rng) { | |
| if (rng != null) { | |
| var nextRng = rng.clone(); | |
| return [(0, UnsafeUniformBigIntDistribution_1.unsafeUniformBigIntDistribution)(from, to, nextRng), nextRng]; | |
| } | |
| return function (rng) { | |
| var nextRng = rng.clone(); | |
| return [(0, UnsafeUniformBigIntDistribution_1.unsafeUniformBigIntDistribution)(from, to, nextRng), nextRng]; | |
| }; | |
| } | |
| exports.uniformBigIntDistribution = uniformBigIntDistribution; | |