vending-machine/mobile/node_modules/pure-rand/lib/esm/distribution/uniformBigInt.d.ts
2026-04-03 06:07:13 +08:00

15 lines
528 B
TypeScript

import { t as RandomGenerator } from "../RandomGenerator-CKZRB3Fu.js";
//#region src/distribution/uniformBigInt.d.ts
/**
* Uniformly generate random bigint values between `from` (included) and `to` (included)
*
* @param rng - Instance of RandomGenerator to extract random values from
* @param from - Lower bound of the range (included)
* @param to - Upper bound of the range (included)
*
* @public
*/
declare function uniformBigInt(rng: RandomGenerator, from: bigint, to: bigint): bigint;
//#endregion
export { uniformBigInt };