Difference between revisions of "FpcHighAccuracy"
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-14; can be substituted by a numerica...") |
m |
||
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]] |
Revision as of 05:58, 9 February 2012
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
SetFPCompareAccuracy(fpcHighAccuracy);
or:
SetFPCompareAccuracy(3);
Example
Set the floating point compare accuracy to High:
SetFPCompareAccuracy(fpcHighAccuracy);
Set the floating point compare accuracy to High:
SetFPCompareAccuracy(3);