UNPKG

randomcryp

Version:

A cryptographically secure, feature rich, zero dependency and browser friendly random number generator library.

8 lines (7 loc) 248 B
/** * Generates a random number between -1 (inclusive) and 1 (inclusive). * Uses {@link safeInt} and thus not recommended for general usage also. * * Should be somewhat better for calculating PI. **/ export declare const ifloat: () => number;