LogicalNot - Math

From the CreationKit Wiki
Revision as of 05:40, 30 May 2013 by imported>Bot Owned (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' Math Script Inverts arg1's bits. == Syntax == <source lang="papyrus"> int Function Lo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Math Script

Inverts arg1's bits.

Syntax

int Function LogicalNot(int arg1) global native

Parameters

  • arg1: The value to bit inverse.

Return Value

The decimal result of the bit inverse.

Examples

int iA = Math.LogicalNot(0x000063D8) ;iA == -25561
int iC = Math.LogicalNot(127) ;iC == -128

See Also