Difference between revisions of "FpcHighAccuracy"
Jump to navigation
Jump to search
(→Usage) |
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM) |
||
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> | ||
+ | or: | ||
+ | |||
+ | <syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight> | ||
+ | |||
== Example == | == Example == | ||
Set the floating point compare accuracy to High: | Set the floating point compare accuracy to High: |
Latest revision as of 12:38, 13 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);