{"name":"BIS_fnc_bitwiseXOR","title":"BIS fnc bitwiseXOR","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_bitwiseXOR","revid":328591,"updated":"2022-07-13T17:02:28Z","groups":["Bitwise"],"status":"ok","games":{"arma3":"1.66"},"since":"arma3 1.66","arma3_since":"1.66","description":"Performs bitwise XOR operation on two decimal or hexadecimal unsigned 24 bit integers\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":"[num1, num2] call BIS_fnc_bitwiseXOR","params":[{"name":"num1","type":"Number","description":"decimal or hexadecimal unsigned 24 bit integer","type_expr":"Number"},{"name":"num2","type":"Number","description":"decimal or hexadecimal unsigned 24 bit integer","type_expr":"Number"}],"returns":{"type":"Number","type_expr":"Number","description":"decimal number"}}],"examples":[{"code":["[1 + 4 + 16, 1] call BIS_fnc_bitwiseXOR; // 20\n[1 + 2 + 32, 4 + 8] call BIS_fnc_bitwiseXOR; // 47\n[16 + 32, 4 + 16] call BIS_fnc_bitwiseXOR; // 36\n[1 + 16 + 32, 2 + 32] call BIS_fnc_bitwiseXOR; // 19"]}],"see_also":["BIS_fnc_bitwiseAND","BIS_fnc_bitwiseOR","BIS_fnc_bitwiseNOT"]}