Difference between revisions of "FpcVeryHighAccuracy"
Jump to navigation
Jump to search
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-16; can be substituted by a numerica...") |
m |
||
Line 1: | Line 1: | ||
− | + | A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-16; can be substituted by a numerical value of 4. | |
− | + | == Usage == | |
<syntaxhighlight>SetFPCompareAccuracy(fpcVeryHighAccuracy)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(fpcVeryHighAccuracy)</syntaxhighlight> | ||
Line 8: | Line 8: | ||
<syntaxhighlight>SetFPCompareAccuracy(4)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(4)</syntaxhighlight> | ||
− | + | == Example == | |
Set the floating point compare accuracy to Very High: | Set the floating point compare accuracy to Very High: | ||
Line 16: | Line 16: | ||
<syntaxhighlight>SetFPCompareAccuracy(4);</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(4);</syntaxhighlight> | ||
− | |||
[[Category:Execution Control]] | [[Category:Execution Control]] |
Latest revision as of 05:57, 9 February 2012
A constant used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-16; can be substituted by a numerical value of 4.
Usage
SetFPCompareAccuracy(fpcVeryHighAccuracy)
or:
SetFPCompareAccuracy(4)
Example
Set the floating point compare accuracy to Very High:
SetFPCompareAccuracy(fpcVeryHighAccuracy);
Set the floating point compare accuracy to Very High:
SetFPCompareAccuracy(4);