randomTo(_:)

Random value

BigInt.swift:2518
func randomTo(_ x: BInt) -> BInt

Parameters

x

Upper bound larger than self

Returns

A uniformly distributed random value in range self ..< x