+1 888 340 6572

FpcVeryHighAccuracy: Difference between revisions

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


Line 8: Line 8:
<syntaxhighlight>SetFPCompareAccuracy(4)</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(4)</syntaxhighlight>  
   
   
==== Example ====
== Example ==
Set the floating point compare accuracy to Very High:
Set the floating point compare accuracy to Very High:


Line 16: Line 16:


<syntaxhighlight>SetFPCompareAccuracy(4);</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(4);</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-16; can be substituted by a numerical value of 4.

Usage

SetFPCompareAccuracy(fpcVeryHighAccuracy)

or:

SetFPCompareAccuracy(4)

Example

Set the floating point compare accuracy to Very High:

SetFPCompareAccuracy(fpcVeryHighAccuracy);

Set the floating point compare accuracy to Very High:

SetFPCompareAccuracy(4);