Chapter 3 Page 42 BigInt.asUIntN(bits, biting) should be BigInt.asUIntN(bits, bigint) (Thanks to Qirui W.)