Vanguard Software
Forecasting & Planning Solutions

contents.gifindex.gifprev1.gifnext1.gif

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

  Forecasting Software  |  Strategic Planning Software  |  Decision Support Software
Decision Tree Analysis  |  Monte Carlo Simulation Software  |  Risk Analysis Software
Portfolio Analysis  |  Expert System Software  |  Online Forms

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2009 Vanguard Software Corporation
Home Products Solutions Services Customers Partners Company
Vanguard
Applying science to business management
Vanguard
Print this page   Email this page to a friend