FpcLowAccuracy: Difference between revisions
From MultiCharts
(Created page with "Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerica...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerical value of 1. | |||
== Usage == | |||
<syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy);</syntaxhighlight> | ||
or: | or: | ||
<syntaxhighlight>SetFPCompareAccuracy(1)</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight> | ||
== Example == | |||
Set the floating point compare accuracy to Low: | Set the floating point compare accuracy to Low: | ||
Line 16: | Line 16: | ||
<syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight> | <syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight> | ||
[[Category:Execution Control]] | [[Category:Execution Control]] |
Revision as of 05:58, 9 February 2012
A constant used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-10; can be substituted by a numerical value of 1.
Usage
SetFPCompareAccuracy(fpcLowAccuracy);
or:
SetFPCompareAccuracy(1);
Example
Set the floating point compare accuracy to Low:
SetFPCompareAccuracy(fpcLowAccuracy);
Set the floating point compare accuracy to Low:
SetFPCompareAccuracy(1);