Difference between revisions of "FpcExactAccuracy"
Jump to navigation
Jump to search
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 0.00; can be substituted by a numerical value of 5. ==== ...") |
m |
||
Line 1: | Line 1: | ||
− | + | A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 0.00; can be substituted by a numerical value of 5. | |
− | + | == Usage == | |
− | <syntaxhighlight>SetFPCompareAccuracy(fpcExactAccuracy)</syntaxhighlight> | + | <syntaxhighlight>SetFPCompareAccuracy(fpcExactAccuracy);</syntaxhighlight> |
or: | or: | ||
− | <syntaxhighlight>SetFPCompareAccuracy(5)</syntaxhighlight> | + | <syntaxhighlight>SetFPCompareAccuracy(5);</syntaxhighlight> |
− | + | == Example == | |
Set the floating point compare accuracy to Exact: | Set the floating point compare accuracy to Exact: | ||
Line 16: | Line 16: | ||
<syntaxhighlight>SetFPCompareAccuracy(5);</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(5);</syntaxhighlight> | ||
− | |||
− | |||
[[Category:Execution Control]] | [[Category:Execution Control]] |
Latest revision as of 05:59, 9 February 2012
A constant used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 0.00; can be substituted by a numerical value of 5.
Usage
SetFPCompareAccuracy(fpcExactAccuracy);
or:
SetFPCompareAccuracy(5);
Example
Set the floating point compare accuracy to Exact:
SetFPCompareAccuracy(fpcExactAccuracy);
Set the floating point compare accuracy to Exact:
SetFPCompareAccuracy(5);