Difference between revisions of "FpcLowAccuracy"

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-10; 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-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 ====
+
== Usage ==
<syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy)</syntaxhighlight>
+
<syntaxhighlight>SetFPCompareAccuracy(fpcLowAccuracy);</syntaxhighlight>
  
 
or:  
 
or:  
  
<syntaxhighlight>SetFPCompareAccuracy(1)</syntaxhighlight>  
+
<syntaxhighlight>SetFPCompareAccuracy(1);</syntaxhighlight>  
 
   
 
   
==== Example ====
+
== 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);