Implement bitops for Nat and Int #2799
Labels
compiler
Motoko → Wasm
language design
Requires design work
P2
medium priority, resolve within a couple of milestones
A user has requested an infinite precision bitwise negation operator on Nat and Int.
https://forum.dfinity.org/t/how-motoko-uses-the-bitwise-negation-operator/7428/8
Should be easy to support, acc to @nomeata, pointing at:
https://github.com/libtom/libtommath/blob/develop/mp_complement.c
The text was updated successfully, but these errors were encountered: