Bitwise Not Format: ~ x Arguments: (int) x Any integer Returns: (int) Bitwise compliment of x Description: This operator converts x from a floating-point number to a 32-bit integer, inverts all bits, and then returns the result as a floating-point number. Examples: ~16 = -17 ~-17 = 16 See Also: Logical Not, Bitwise And, Bitwise Or, Bitwise Exclusive Or, Left Shift, Right Shift, Zero-Fill Right Shift
Arguments: (int) x Any integer
Returns: (int) Bitwise compliment of x
Description: This operator converts x from a floating-point number to a 32-bit integer, inverts all bits, and then returns the result as a floating-point number.
Examples:
~-17 = 16
Contact Us
© 2008 Vanguard Software Corporation. All rights reserved.