</pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4class="subHeading">Parameters</h4><dl><dt><spanclass="parameter">rop</span></dt><dd>Type:<ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<spanid="LSTA1EAB316_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br/>The result integer.</dd><dt><spanclass="parameter">op1</span></dt><dd>Type:<ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">Math.Gmp.Native<spanid="LSTA1EAB316_2"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_2?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mpz_t</a><br/>The first operand integer.</dd><dt><spanclass="parameter">op2</span></dt><dd>Type:<ahref="1b2b1d64-20c1-7a64-0278-d9ff58ee9cc3.htm">Math.Gmp.Native<spanid="LSTA1EAB316_3"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTA1EAB316_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>mp_bitcnt_t</a><br/>The second operand integer.</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>
This operation can also be defined as a left shift by <spanclass="parameter">op2</span> bits.
</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">// Create, initialize, and set the value of x to -10000.</span>
mpz_t x = <spanclass="highlight-keyword">new</span> mpz_t();
<spanclass="highlight-comment">// Release unmanaged memory allocated for x and z.</span>
gmp_lib.mpz_clears(x, z, <spanclass="highlight-keyword">null</span>);</pre></div><divid="ID0EDAABA_code_Div2"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="highlight-comment">' Create, initialize, and set the value of x to -10000.</span>
<spanclass="highlight-keyword">Dim</span> x <spanclass="highlight-keyword">As</span><spanclass="highlight-keyword">New</span> mpz_t()
gmp_lib.mpz_clears(x, 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="9761cc8e-6099-7a76-5ea6-d27f617fd5d1.htm">mpz_abs</a></div><divclass="seeAlsoStyle"><ahref="acb6d3d4-70ad-58be-7cb8-9edb997204b3.htm">mpz_add</a></div><divclass="seeAlsoStyle"><ahref="582a0647-1482-ecd7-cc78-bd2222610e06.htm">mpz_addmul</a></div><divclass="seeAlsoStyle"><ahref="3523bf0e-75ec-6286-76a0-4685198e51f6.htm">mpz_mul</a></div><divclass="seeAlsoStyle"><ahref="ffd27ee1-e1e3-567f-b3cf-87dec2de2c83.htm">mpz_mul_si</a></div><divclass="seeAlsoStyle"><ahref="5fba9944-4437-9b1c-afa0-666d87eafe39.htm">mpz_mul_ui</a></div><divclass="seeAlsoStyle"><ahref="5a61d62c-a0f0-5e86-b6dd-8ca6414b35ed.htm">mpz_neg</a></div><divclass="seeAlsoStyle"><ahref="53702772-53e9-ec51-c3a5-7a1912b4f2b4.htm">mpz_sub</a></div><divclass="seeAlsoStyle"><ahref="ce7d559a-3772-41c0-912f-9ab218f4d98c.htm">mpz_submul</a></div><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><ahref="/html/3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm#Integer_Arithmetic">Integer Arithmetic</a></a></div><divclass="seeAlsoStyle"><ahref="3af6b34c-3242-2b75-e7c7-ab79af8a4b0f.htm"><ahref="https://gmplib.org/manual/Integer-Arithmetic.html#Integer-Arithmetic">GNU MP - Integer Arithmetic</a></a></div></div></div></div><divid="pageFooter"class="pageFooter"></div></body></html>