WebSphere Message Broker, Version 8.0.0.7 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

BITNOT function

The BITNOT numeric function performs a bitwise complement on the binary representation of a number.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-BITNOT--(--source_integer--)--------------------------------><

BITNOT takes an integer value and returns the result of performing the bitwise complement on the binary representation of the number. The result is INTEGER unless either parameter is NULL, in which case the result is NULL.

For example:
BITNOT(7)
returns -8, as shown by this worked example:
   Binary Decimal
00...0111    7
NOT
_________
11...1000   -8
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2016Copyright IBM Corporation 1999, 2016.

        
        Last updated:
        
        Last updated: 2016-05-23 14:47:11


Reference topicReference topic | Version 8.0.0.7 | ak05320_