+1 888 340 6572

FpcHighAccuracy: 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-14; can be substituted by a numerica...")
 
m (Reverted edits by 176.8.90.7 (talk) to last revision by JoshM)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerical value of 3.  
Constant, used in combination with [[SetFPCompareAccuracy]] to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerical value of 3.  
   
   
==== Usage ====
== Usage ==
<syntaxhighlight>SetFPCompareAccuracy(fpcHighAccuracy)</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(fpcHighAccuracy);</syntaxhighlight>  


or:  
or:  


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


Line 17: Line 17:
<syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight>  
<syntaxhighlight>SetFPCompareAccuracy(3);</syntaxhighlight>  
   
   
[[Category:Execution Control]]
[[Category:Execution Control]]

Latest revision as of 12:38, 13 February 2012

Constant, used in combination with SetFPCompareAccuracy to designate the floating point compare tolerance value of 2.2204460492503131e-14; can be substituted by a numerical value of 3.

Usage

SetFPCompareAccuracy(fpcHighAccuracy);

or:

SetFPCompareAccuracy(3);

Example

Set the floating point compare accuracy to High:

SetFPCompareAccuracy(fpcHighAccuracy);

Set the floating point compare accuracy to High:

SetFPCompareAccuracy(3);