Opcodes · arithmetic · enabled
OP_NUMNOTEQUAL (0x9e)
Pushes 1 if the numbers differ, otherwise 0. Since May 2025 numbers may be up to 10,000 bytes long (BigInt).
Verified
- Stack in → out
- a b → a!=b
- Since
- Original Bitcoin script
- Cost
- Base instruction cost 100 plus the byte length of the pushed result (2025 VM limits).
- Bitcoin status
- Same in Bitcoin (BTC)BTC limits arithmetic inputs to 4 bytes.
Example
OP_2 OP_3 OP_NUMNOTEQUAL Step through it opcode by opcode in Bitauth IDE, the in-browser BCH VM debugger.