</pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4class="subHeading">Parameters</h4><dl><dt><spanclass="parameter">rop</span></dt><dd>Type:<ahref="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<spanid="LST6FE26E7C_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br/>The result float.</dd><dt><spanclass="parameter">op1</span></dt><dd>Type:<ahref="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<spanid="LST6FE26E7C_2"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br/>The first operand.</dd><dt><spanclass="parameter">op2</span></dt><dd>Type:<ahref="37c88d6c-8d02-2330-ad77-f20fb73d1677.htm">Math.Gmp.Native<spanid="LST6FE26E7C_3"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_t</a><br/>The second operand.</dd></dl></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>
Division is undefined if the divisor is zero, and passing a zero divisor to the divide
functions will make it intentionally divide by zero.
This lets the user handle arithmetic exceptions in division functions in the same manner
as other arithmetic exceptions.
</p></div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID3RB')"onkeypress="SectionExpandCollapse_CheckKey('ID3RB', event)"tabindex="0"><imgid="ID3RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Examples</span></div><divid="ID3RBSection"class="collapsibleSection"><divclass="codeSnippetContainer"><divclass="codeSnippetContainerTabs"><divid="ID0EDAABA_tab1"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDAABA','cs','1','4');return false;">C#</a></div><divid="ID0EDAABA_tab2"class="codeSnippetContainerTab"><ahref="#"onclick="javascript:ChangeTab('ID0EDAABA','vb','2','4');return false;">VB</a></div><divid="ID0EDAABA_tab3"class="codeSnippetContainerTabPhantom"><ahref="#"onclick="javascript:ChangeTab('ID0EDAABA','cpp','3','4');return false;">C++</a></div><divid="ID0EDAABA_tab4"class="codeSnippetContainerTabPhantom"><ahref="#"onclick="javascript:ChangeTab('ID0EDAABA','fs','4','4');return false;">F#</a></div></div><divclass="codeSnippetContainerCodeContainer"><divclass="codeSnippetToolBar"><divclass="codeSnippetToolBarText"><aid="ID0EDAABA_copyCode"href="#"class="copyCodeSnippet"onclick="javascript:CopyToClipboard('ID0EDAABA');return false;"title="Copy">Copy</a></div></div><divid="ID0EDAABA_code_Div1"class="codeSnippetContainerCode"style="display: block"><prexml:space="preserve"><spanclass="highlight-comment">// Set default precision to 64 bits.</span>
<spanclass="highlight-comment">// Release unmanaged memory allocated for x, y, and z.</span>
gmp_lib.mpf_clears(x, y, z, <spanclass="highlight-keyword">null</span>);</pre></div><divid="ID0EDAABA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="highlight-comment">' Set default precision to 64 bits.</span>
<spanclass="highlight-comment">' Release unmanaged memory allocated for x, y, and z.</span>
gmp_lib.mpf_clears(x, y, z, <spanclass="highlight-keyword">Nothing</span>)</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="c19999f1-01ee-a3fe-dc4d-2a459e73492d.htm">gmp_lib<spanid="LST6FE26E7C_4"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_4?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_add(mpf_t, mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="718e7623-d25b-8a09-2543-745f24cd82c1.htm">gmp_lib<spanid="LST6FE26E7C_5"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_5?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sub(mpf_t, mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="309e6a8c-1318-2d30-a058-f119193546a0.htm">gmp_lib<spanid="LST6FE26E7C_6"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_6?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_mul(mpf_t, mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="34a39f93-359c-526f-c9ad-cd7558968f1e.htm">gmp_lib<spanid="LST6FE26E7C_7"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_7?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_ui_div(mpf_t, UInt32, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="3985111a-6d13-b418-9c90-422a8e1e5b8b.htm">gmp_lib<spanid="LST6FE26E7C_8"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_8?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_div_ui(mpf_t, mpf_t, UInt32)</a></div><divclass="seeAlsoStyle"><ahref="00a7e91d-b046-f5d3-5b51-55868d87e228.htm">gmp_lib<spanid="LST6FE26E7C_9"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_9?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_sqrt(mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="96e2fb95-0ac0-3d24-bea9-ee5631f30347.htm">gmp_lib<spanid="LST6FE26E7C_10"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_10?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_pow_ui(mpf_t, mpf_t, UInt32)</a></div><divclass="seeAlsoStyle"><ahref="357791cb-951d-5542-ff67-c00ef5e9aadb.htm">gmp_lib<spanid="LST6FE26E7C_11"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_11?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_neg(mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="17731ba4-bf91-6b9b-737a-a9cc306ba17d.htm">gmp_lib<spanid="LST6FE26E7C_12"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_12?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_abs(mpf_t, mpf_t)</a></div><divclass="seeAlsoStyle"><ahref="352401d6-c6d1-29c1-a9f6-e5e0ed46bc86.htm">gmp_lib<spanid="LST6FE26E7C_13"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6FE26E7C_13?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpf_div_2exp(mpf_t, mpf_t, UInt32)</a></div><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><ahref="https://gmplib.org/manual/Float-Arithmetic.html#Float-Arithmetic">GNU MP - Float Arithmetic</a></a></div></div></div></div><divid="pageFooter"class="pageFooter"></div></body></html>