{"name":"BIS_fnc_bitwiseNOT","title":"BIS fnc bitwiseNOT","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_bitwiseNOT","revid":328587,"updated":"2022-07-13T17:02:27Z","groups":["Bitwise"],"status":"ok","games":{"arma3":"1.66"},"since":"arma3 1.66","arma3_since":"1.66","description":"Performs bitwise NOT operation on decimal or hexadecimal unsigned 24 bit integer\n(Hexadecimal number representation is simply auto-converted into decimal by the engine)\n\n**Limitations**:\nDue to various limitations of the Real Virtuality engine this function is\nintended to work with unsigned 24 bit integers only. This means that the\nsupported range is 2^0...2^24 (1...16777216)","syntaxes":[{"syntax":"num call BIS_fnc_bitwiseNOT","params":[{"name":"num","type":"Number","description":"decimal or hexadecimal unsigned 24 bit integer","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"decimal number"}}],"examples":[{"code":["873687 call BIS_fnc_bitwiseNOT; // 15903528\n[2 + 4 + 8 + 32 + 256 + 1024] call BIS_fnc_bitwiseNOT; // 16775889"]}],"see_also":["BIS_fnc_bitwiseAND","BIS_fnc_bitwiseXOR","BIS_fnc_bitwiseOR"]}