1,501
edits
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerica...") |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerical value of 3. | Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerical value of 3. | ||
== Usage == | |||
<syntaxhighlight>SetFPCompareAccuracy(fpcHighAccuracy)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(fpcHighAccuracy);</syntaxhighlight> | ||
or: | or: | ||
<syntaxhighlight>SetFPCompareAccuracy(3)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight> | ||
== Example == | |||
Set the floating point compare accuracy to High: | Set the floating point compare accuracy to High: | ||
Line 17: | Line 17: | ||
<syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight> | ||
[[Category:Execution Control]] | [[Category:Execution Control]] |