</pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4class="subHeading">Parameters</h4><dl><dt><spanclass="parameter">op1</span></dt><dd>Type:<ahref="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<spanid="LST2C00C5CA_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST2C00C5CA_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br/>The first operand float.</dd><dt><spanclass="parameter">op2</span></dt><dd>Type:<ahref="http://msdn2.microsoft.com/en-us/library/643eft0t"target="_blank">System<spanid="LST2C00C5CA_2"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST2C00C5CA_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Double</a><br/>The second operand float.</dd></dl><h4class="subHeading">Return Value</h4>Type:<ahref="http://msdn2.microsoft.com/en-us/library/td2s409d"target="_blank">Int32</a><br/>Return a positive value if op1 > op2, zero if op1 = op2, and a negative value if op1 < op2.</div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Remarks</span></div><divid="ID2RBSection"class="collapsibleSection"><p><spanclass="selflink">mpf_cmp_d</span> can be called with an infinity, but results are undefined for a NaN.
<spanclass="highlight-comment">// Release unmanaged memory allocated for x.</span>
gmp_lib.mpf_clear(x);</pre></div><divid="ID0EDAABA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="highlight-comment">' Set default precision to 64 bits.</span>
gmp_lib.mpf_clear(x)</pre></div><divid="ID0EDAABA_code_Div3"class="codeSnippetContainerCode"style="display: none"><p>No code example is currently available or this language may not be supported.</p></div><divid="ID0EDAABA_code_Div4"class="codeSnippetContainerCode"style="display: none"><p>No code example is currently available or this language may not be supported.</p></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDAABA");</script></div><divclass="collapsibleAreaRegion"id="seeAlsoSection"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID4RB')"onkeypress="SectionExpandCollapse_CheckKey('ID4RB', event)"tabindex="0"><imgid="ID4RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>See Also</span></div><divid="ID4RBSection"class="collapsibleSection"><h4class="subHeading">Reference</h4><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm">gmp_lib Class</a></div><divclass="seeAlsoStyle"><ahref="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div><divclass="seeAlsoStyle"><ahref="be9e6a25-83fb-49c2-949a-b8642a8234f5.htm">mpf_cmp</a></div><divclass="seeAlsoStyle"><ahref="5236d7a8-b79f-add8-4898-997e9d6a68bf.htm">mpf_cmp_z</a></div><divclass="seeAlsoStyle"><ahref="5a168ae0-405b-7259-0853-84999876c47a.htm">mpf_cmp_ui</a></div><divclass="seeAlsoStyle"><ahref="d9d29633-42c7-fb1c-cdee-3b7993f45653.htm">mpf_cmp_si</a></div><divclass="seeAlsoStyle"><ahref="f485faa1-3758-8316-f712-42e0fc2058a8.htm">mpf_reldiff</a></div><divclass="seeAlsoStyle"><ahref="d229629f-3bba-817b-d9a3-6f00271e1da7.htm">mpf_sgn</a></div><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><ahref="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Float_Comparison">Float Comparison</a></a></div><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><ahref="https://gmplib.org/manual/Float-Comparison.html#Float-Comparison">GNU MP - Float Comparison</a></a></div></div></div></div><divid="pageFooter"class="pageFooter"></div></body></html>