Closed Unisay closed 7 years ago
Doc says that function not inverts the bits. In practice, however, the behavior is the following:
not
> bi = fromInt 42 > bin = toBase 2 > bin bi "101010" > bin (not bi) "-101011"
where expected result for the bin (not bi) would be 10101
bin (not bi)
10101
Please see the upstream documentation here: https://github.com/peterolson/BigInteger.js#not
Doc says that function
not
inverts the bits. In practice, however, the behavior is the following:where expected result for the
bin (not bi)
would be10101