Difference between revisions of "FpcLowAccuracy"
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: | ||
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. | 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> | ||
+ | or: | ||
+ | |||
+ | <syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight> | ||
+ | |||
== Example == | == Example == | ||
Set the floating point compare accuracy to Low: | Set the floating point compare accuracy to Low: |
Latest revision as of 13:10, 13 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);