()
| 104 | } while (((bits - val + (bound - 1)) | 0) < 0); |
| 105 | return val; |
| 106 | } |
| 107 | |
| 108 | nextLong() { |
| 109 | const msb = BigInt(this.nextSigned(32)); |
| 110 | const lsb = BigInt(this.nextSigned(32)); |
| 111 | return BigInt.asIntN(64, (msb << 32n) + lsb); |
| 112 | } |
| 113 | |
| 114 | nextBoolean() { |
nothing calls this directly
no test coverage detected