justmoon / node-bignum

Big integers for Node.js using OpenSSL
420 stars 117 forks source link

Bitwise NOT operator #97

Open UnsignedInt8 opened 7 years ago

UnsignedInt8 commented 7 years ago

Hello bro. I do not find the bitwise NOT(~) method. Haven't you implemented it yet?

Like this:

> ~2
-3

bignum(2).not()