<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>mp_limb_t Structure</title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="mp_limb_t structure"/><metaname="System.Keywords"content="Math.Gmp.Native.mp_limb_t structure"/><metaname="System.Keywords"content="mp_limb_t structure, about mp_limb_t structure"/><metaname="Microsoft.Help.F1"content="Math.Gmp.Native.mp_limb_t"/><metaname="Microsoft.Help.Id"content="T:Math.Gmp.Native.mp_limb_t"/><metaname="Description"content="Represents a part of a multiple precision number."/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="Math.Gmp.Native"/><metaname="file"content="bf1f694d-f9b2-6413-12e5-ebae603d5b49"/><metaname="guid"content="bf1f694d-f9b2-6413-12e5-ebae603d5b49"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script><scripttype="text/javascript"src="../scripts/clipboard.min.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">GMP Native Interface for .NET<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm"title="GMP Native Interface for .NET"tocid="roottoc">GMP Native Interface for .NET</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm"title="Math.Gmp.Native"tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><divclass="toclevel1 current"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm"title="mp_limb_t Structure"tocid="bf1f694d-f9b2-6413-12e5-ebae603d5b49">mp_limb_t Structure</a></div><divclass="toclevel2"data-toclevel="2"><adata-tochassubtree="false"href="89d25f98-71ed-79b0-9b85-7cb9fcbab79d.htm"title="mp_limb_t Constructor "tocid="89d25f98-71ed-79b0-9b85-7cb9fcbab79d">mp_limb_t Constructor </a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="1e30b810-66a8-52cc-8501-8bdda18bfaa7.htm"title="mp_limb_t Methods"tocid="1e30b810-66a8-52cc-8501-8bdda18bfaa7">mp_limb_t Methods</a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="88234d39-a3da-db4f-71ff-17d0f2e2c7fe.htm"title="mp_limb_t Operators and Type Conversions"tocid="88234d39-a3da-db4f-71ff-17d0f2e2c7fe">mp_limb_t Operators and Type Conversions</a></div><divclass="toclevel2"data-toclevel="2"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="a1100e83-1a57-f861-4850-83b9bce3ebc2.htm"title="mp_limb_t Fields"tocid="a1100e83-1a57-f861-4850-83b9bce3ebc2">mp_limb_t Fields</a></div></div><divid="tocResizableEW"onmousedown="OnMouseDown(event);
<spanclass="keyword">type</span><spanclass="identifier">mp_limb_t</span> = <spanclass="keyword">struct</span><spanclass="keyword">end</span></pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script></div><p>The <spanclass="selflink">mp_limb_t</span> type exposes the following members.</p><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Constructors</span></div><divid="ID2RBSection"class="collapsibleSection"><tableclass="members"id="constructorList"><tr><thclass="iconColumn">
</div> (Overrides <ahref="http://msdn2.microsoft.com/en-us/library/y3509fc2"target="_blank">ValueType<spanid="LSTCE1DB4C5_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>GetHashCode<spanid="LSTCE1DB4C5_2"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_2?cs=()|vb=|cpp=()|nu=()|fs=()");</script></a>.)</td></tr><trdata="public;inherited;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="http://msdn2.microsoft.com/en-us/library/dfwy45w9"target="_blank">GetType</a></td><td><divclass="summary">Gets the type of the current instance.</div> (Inherited from <ahref="http://msdn2.microsoft.com/en-us/library/e5kfa45b"target="_blank">Object</a>.)</td></tr><trdata="public;declared;notNetfw;"><td><imgsrc="../icons/pubmethod.gif"alt="Public method"title="Public method"/></td><td><ahref="7ae8e775-5b2d-4ce0-c45b-5afd1b66ac62.htm">ToString</a></td><td><divclass="summary">
Gets a value that indicates whether the two argument values are equal.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="b88446f7-b9cf-5692-d4fe-7b809ef197eb.htm"><spanid="LSTCE1DB4C5_5"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_5?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(Int16 to mp_limb_t)</a></td><td><divclass="summary">
Converts an <ahref="http://msdn2.microsoft.com/en-us/library/e07e6fds"target="_blank">Int16</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="06428417-fb0b-82c7-4b50-99dfe28c7afb.htm"><spanid="LSTCE1DB4C5_6"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_6?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(Int32 to mp_limb_t)</a></td><td><divclass="summary">
Converts an <ahref="http://msdn2.microsoft.com/en-us/library/td2s409d"target="_blank">Int32</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="03a17ed9-19e1-9de3-0ea4-4ff3f63938a6.htm"><spanid="LSTCE1DB4C5_7"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_7?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(Int64 to mp_limb_t)</a></td><td><divclass="summary">
Converts an <ahref="http://msdn2.microsoft.com/en-us/library/6yy583ek"target="_blank">Int64</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="3006d511-ecd7-0e95-44e1-b9effd406cbf.htm"><spanid="LSTCE1DB4C5_8"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_8?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(SByte to mp_limb_t)</a></td><td><divclass="summary">
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/f71b253d"target="_blank">SByte</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="6991a24e-345d-029c-c189-ed263640928b.htm"><spanid="LSTCE1DB4C5_9"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_9?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to Byte)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to a <ahref="http://msdn2.microsoft.com/en-us/library/yyb1w04y"target="_blank">Byte</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="3cd34dae-2d2e-5efd-cc59-e555d879812a.htm"><spanid="LSTCE1DB4C5_10"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_10?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to SByte)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to an <ahref="http://msdn2.microsoft.com/en-us/library/f71b253d"target="_blank">SByte</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="9ab62efe-605f-58cf-588c-1e52adcfb373.htm"><spanid="LSTCE1DB4C5_11"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_11?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to UInt16)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to a <ahref="http://msdn2.microsoft.com/en-us/library/s6eyk10z"target="_blank">UInt16</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="c3def8a2-dda3-3951-fca6-035e9c7ec894.htm"><spanid="LSTCE1DB4C5_12"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_12?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to Int16)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to an <ahref="http://msdn2.microsoft.com/en-us/library/e07e6fds"target="_blank">Int16</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="f4b3e873-d3fc-637d-d8cb-04cd63c76b6d.htm"><spanid="LSTCE1DB4C5_13"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_13?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to UInt32)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to a <ahref="http://msdn2.microsoft.com/en-us/library/ctys3981"target="_blank">UInt32</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="72723d8b-579c-0c0f-d5c8-868ae849457e.htm"><spanid="LSTCE1DB4C5_14"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_14?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to Int32)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to an <ahref="http://msdn2.microsoft.com/en-us/library/td2s409d"target="_blank">Int32</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="63e2f5c3-b5bb-ebf6-3bcf-682671a0dbc3.htm"><spanid="LSTCE1DB4C5_15"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_15?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script>(mp_limb_t to Int64)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to an <ahref="http://msdn2.microsoft.com/en-us/library/6yy583ek"target="_blank">Int64</a> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="7dbd9949-90ab-2b31-978d-9fde0a2ba7ee.htm"><spanid="LSTCE1DB4C5_16"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_16?cs=Implicit|vb=Widening|cpp=Implicit|nu=Implicit|fs=Implicit");</script>(Byte to mp_limb_t)</a></td><td><divclass="summary">
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/yyb1w04y"target="_blank">Byte</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="4e7a1224-4cf6-269a-82b6-8fdb83429949.htm"><spanid="LSTCE1DB4C5_17"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_17?cs=Implicit|vb=Widening|cpp=Implicit|nu=Implicit|fs=Implicit");</script>(UInt16 to mp_limb_t)</a></td><td><divclass="summary">
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/s6eyk10z"target="_blank">UInt16</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="adc5aae1-accd-ed83-fe1b-8910aa034c17.htm"><spanid="LSTCE1DB4C5_18"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_18?cs=Implicit|vb=Widening|cpp=Implicit|nu=Implicit|fs=Implicit");</script>(UInt32 to mp_limb_t)</a></td><td><divclass="summary">
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/ctys3981"target="_blank">UInt32</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="9b49e0e1-2b6a-8d1a-eb15-0a1a17358384.htm"><spanid="LSTCE1DB4C5_19"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_19?cs=Implicit|vb=Widening|cpp=Implicit|nu=Implicit|fs=Implicit");</script>(UInt64 to mp_limb_t)</a></td><td><divclass="summary">
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/06cf7918"target="_blank">UInt64</a> value to an <spanclass="selflink">mp_limb_t</span> value.
</div></td></tr><trdata="public;static;declared;notNetfw;"><td><imgsrc="../icons/puboperator.gif"alt="Public operator"title="Public operator"/><imgsrc="../icons/static.gif"alt="Static member"title="Static member"/></td><td><ahref="880536ad-8f64-bc4a-a807-0071061ac720.htm"><spanid="LSTCE1DB4C5_20"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LSTCE1DB4C5_20?cs=Implicit|vb=Widening|cpp=Implicit|nu=Implicit|fs=Implicit");</script>(mp_limb_t to UInt64)</a></td><td><divclass="summary">
Converts a <spanclass="selflink">mp_limb_t</span> value to a <ahref="http://msdn2.microsoft.com/en-us/library/06cf7918"target="_blank">UInt64</a> value.