You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// Function that returns a floating point number x such that 0 <= x < 1
|
|
export type RandomFunction = () => number
|
|
|
|
export function forbidRandomness(): number {
|
|
throw Error('bad random')
|
|
}
|
|
|