| Components | All | New | MacOS | Windows | Linux | iOS | ||||
| Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old | |
Math.BitwiseNOT
Perform bitwise not operation.
| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
| Math | 4.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Math.BitwiseNOT"; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Value | The number to use. | 255 |
Result
Returns number.
Description
Perform bitwise not operation.Only for integer number.
Updated to use 64-bit signed integers in version 7.3.
Examples
Calculates Bitwise NOT of 255:
MBS( "Math.BitwiseNOT"; 255 )
See also
Release notes
- Version 7.3
- Improved Math.BitwiseAND, Math.BitwiseOR, Math.BitwiseNOT, Math.BitwiseXOR, Math.BitwiseShiftRight and Math.BitwiseShiftLeft to use 64-bit integers instead of 32-bit.
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 14th July 2017