FpcMedAccuracy: Difference between revisions

From MultiCharts
mNo edit summary
 
Line 1: Line 1:
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-12; can be substituted by a numerical value of 2.  
A constant used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-12; can be substituted by a numerical value of 2.  
   
   
==== Usage ====
== Usage ==
<syntaxhighlight>SetFPCompareAccuracy(fpcMedAccuracy)</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(fpcMedAccuracy);</syntaxhighlight>  


or:  
or:  


<syntaxhighlight>SetFPCompareAccuracy(2)</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(2);</syntaxhighlight>  
   
   
==== Example ====
== Example ==
Set the floating point compare accuracy to Medium:  
Set the floating point compare accuracy to Medium:  


Line 16: Line 16:


<syntaxhighlight>SetFPCompareAccuracy(2);</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(2);</syntaxhighlight>  


[[Category:Execution Control]]
[[Category:Execution Control]]

Latest revision as of 05:57, 9 February 2012

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

Usage

SetFPCompareAccuracy(fpcMedAccuracy);

or:

SetFPCompareAccuracy(2);

Example

Set the floating point compare accuracy to Medium:

SetFPCompareAccuracy(fpcMedAccuracy);

Set the floating point compare accuracy to Medium:

SetFPCompareAccuracy(2);