Difference between revisions of "FpcVeryLowAccuracy"

From MultiCharts
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-8; can be substituted by a numerical...")
 
m
 
Line 1: Line 1:
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-8; can be substituted by a numerical value of 0.  
+
A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-8; can be substituted by a numerical value of 0.  
 
   
 
   
==== Usage ====
+
== Usage ==
<syntaxhighlight>SetFPCompareAccuracy(fpcVeryLowAccuracy)</syntaxhighlight>  
+
<syntaxhighlight>SetFPCompareAccuracy(fpcVeryLowAccuracy);</syntaxhighlight>  
  
 
or:  
 
or:  
  
<syntaxhighlight>SetFPCompareAccuracy(0)</syntaxhighlight>  
+
<syntaxhighlight>SetFPCompareAccuracy(0);</syntaxhighlight>  
 
   
 
   
==== Example ====
+
== Example ==
 
Set the floating point compare accuracy to Very Low:  
 
Set the floating point compare accuracy to Very Low:  
  
Line 17: Line 17:
 
<syntaxhighlight>SetFPCompareAccuracy(0);</syntaxhighlight>  
 
<syntaxhighlight>SetFPCompareAccuracy(0);</syntaxhighlight>  
 
   
 
   
 
 
 
[[Category:Execution Control]]
 
[[Category:Execution Control]]

Latest revision as of 05:56, 9 February 2012

A constant used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-8; can be substituted by a numerical value of 0.

Usage

SetFPCompareAccuracy(fpcVeryLowAccuracy);

or:

SetFPCompareAccuracy(0);

Example

Set the floating point compare accuracy to Very Low:

SetFPCompareAccuracy(fpcVeryLowAccuracy);

Set the floating point compare accuracy to Very Low:

SetFPCompareAccuracy(0);