BitOffInteger (Float function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "{{Template:Float:BitOffInteger subtitle}} The <var>BitOffInteger</var> intrinsic function turns off a set of bits in an integer as indicated by another. =...")
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Template:Float:BitOffInteger subtitle}}
{{Template:Float:BitOffInteger subtitle}}


The <var>BitOffInteger</var> [[Intrinsic classes|intrinsic]] function turns off a set of bits in an integer as indicated by another.
The <var>BitOffInteger</var> [[Intrinsic classes|intrinsic]] function turns "off" the set of bits in one integer that are "on" in another.


==Syntax==
==Syntax==
{{Template:Float:BitOffInteger syntax}}
{{Template:Float:BitOffInteger syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%result</th><td>A variable to receive the result of turning off the bits of <var class="term">offBits</var> in <var class="term">float</var>.</td></tr>
<tr><th>%result</th><td>A variable to receive the result of turning off the bits of <var class="term">offBits</var> in <var class="term">float</var>.</td></tr>
<tr><th>float</th><td>The float to turn off bits in.</td></tr>


<tr><th>offBits</th><td>The bits to turn off.</td></tr>
<tr><th>float</th><td>The integer whose bits are to be turned off.</td></tr>


<tr><th>offBits</th><td>The integer whose bits are turned off in <var class="term">float</var>.</td></tr>
</table>
</table>


==Usage notes==
==Usage notes==
<ul><li>The <var>BitOffInteger</var> function is available as of <var class="product">[[Sirius Mods]]</var> Version 7.9</ul>
<ul>
 
<li>The <var>BitOffInteger</var> function is available as of <var class="product">[[Sirius Mods]]</var> Version 7.9.
==Examples==
</ul>


==See also==
==See also==
{{Template:Float:BitOffInteger footer}}
{{Template:Float:BitOffInteger footer}}

Latest revision as of 17:22, 2 November 2012

Clear bits in one integer from another (Float class)

[Introduced in Sirius Mods 7.9]


The BitOffInteger intrinsic function turns "off" the set of bits in one integer that are "on" in another.

Syntax

%result = float:BitOffInteger( offBits)

Syntax terms

%resultA variable to receive the result of turning off the bits of offBits in float.
floatThe integer whose bits are to be turned off.
offBitsThe integer whose bits are turned off in float.

Usage notes

  • The BitOffInteger function is available as of Sirius Mods Version 7.9.

See also