mirror of
https://github.com/MachineCognitis/Math.Gmp.Native.git
synced 2024-09-07 17:58:20 +02:00
13 lines
12 KiB
HTML
13 lines
12 KiB
HTML
|
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>mp_limb_t Explicit Conversion (Int16 to mp_limb_t)</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="Int16 to mp_limb_t conversion" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mp_limb_t.op_Explicit(System.Int16)~Math.Gmp.Native.mp_limb_t" /><meta name="Description" content="Converts an value to an value." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="b88446f7-b9cf-5692-d4fe-7b809ef197eb" /><meta name="guid" content="b88446f7-b9cf-5692-d4fe-7b809ef197eb" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-1.11.0.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">GMP Native Interface for .NET<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title="GMP Native Interface for .NET" tocid="roottoc">GMP Native Interface for .NET</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title="Math.Gmp.Native" tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-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><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-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><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="e2434db6-d7f3-e7d6-2bd7-04e29ba0a7a8.htm" title="Explicit Conversion Operators" tocid="e2434db6-d7f3-e7d6-2bd7-04e29ba0a7a8">Explicit Conversion Operators</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="b88446f7-b9cf-5692-d4fe-7b809ef197eb.htm" title="Explicit Conversion (Int16 to mp_limb_t)" tocid="b88446f7-b9cf-5692-d4fe-7b809ef197eb">Explicit Conversion (Int16 to mp_limb_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="06428417-fb0b-82c7-4b50-99dfe28c7afb.htm" title="Explicit Conversion (Int32 to mp_limb_t)" tocid="06428417-fb0b-82c7-4b50-99dfe28c7afb">Explicit Conversion (Int32 to mp_limb_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="03a17ed9-19e1-9de3-0ea4-4ff3f63938a6.htm" title="Explicit Conversion (Int64 to mp_limb_t)" tocid="03a17ed9-1
|
|||
|
Converts an <a href="http://msdn2.microsoft.com/en-us/library/e07e6fds" target="_blank">Int16</a> value to an <a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">mp_limb_t</a> value.
|
|||
|
</div><p> </p>
|
|||
|
<strong>Namespace:</strong>
|
|||
|
<a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native</a><br />
|
|||
|
<strong>Assembly:</strong>
|
|||
|
Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EDCA_tab1" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cs','1','4');return false;">C#</a></div><div id="ID0EDCA_tab2" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','vb','2','4');return false;">VB</a></div><div id="ID0EDCA_tab3" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;">C++</a></div><div id="ID0EDCA_tab4" class="codeSnippetContainerTab"><a href="#" onclick="javascript:ChangeTab('ID0EDCA','fs','4','4');return false;">F#</a></div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EDCA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EDCA');return false;" title="Copy">Copy</a></div></div><div id="ID0EDCA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">explicit operator</span> <span class="identifier">mp_limb_t</span> (
|
|||
|
<span class="identifier">short</span> <span class="parameter">value</span>
|
|||
|
)</pre></div><div id="ID0EDCA_code_Div2" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">Public</span> <span class="keyword">Shared</span> <span class="keyword">Narrowing</span> <span class="keyword">Operator</span> <span class="identifier">CType</span> (
|
|||
|
<span class="parameter">value</span> <span class="keyword">As</span> <span class="identifier">Short</span>
|
|||
|
) <span class="keyword">As</span> <span class="identifier">mp_limb_t</span></pre></div><div id="ID0EDCA_code_Div3" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="keyword">static</span> <span class="keyword">explicit operator</span> <span class="identifier">mp_limb_t</span> (
|
|||
|
<span class="identifier">short</span> <span class="parameter">value</span>
|
|||
|
)</pre></div><div id="ID0EDCA_code_Div4" class="codeSnippetContainerCode" style="display: none"><pre xml:space="preserve"><span class="message">F# does not support the declaration of new casting operators.</span></pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">value</span></dt><dd>Type: <a href="http://msdn2.microsoft.com/en-us/library/e07e6fds" target="_blank">System<span id="LST64FAA2AA_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST64FAA2AA_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Int16</a><br />An <a href="http://msdn2.microsoft.com/en-us/library/e07e6fds" target="_blank">Int16</a> value.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">mp_limb_t</a><br />An <a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">mp_limb_t</a> value.</div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID2RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="bf1f694d-f9b2-6413-12e5-ebae603d5b49.htm">mp_limb_t Structure</a></div><div class="seeAlsoStyle"><a href="e2434db6-d7f3-e7d6-2bd7-04e29ba0a7a8.htm"><span id="LST64FAA2AA_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST64FAA2AA_2?cs=Explicit|vb=Narrowing|cpp=Explicit|nu=Explicit|fs=Explicit");</script> Overload</a></div><div class="seeAlsoStyle"><a href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm">Math.Gmp.Native Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
|