mirror of
https://github.com/MachineCognitis/Math.Gmp.Native.git
synced 2024-09-07 09:48:21 +02:00
13 lines
11 KiB
HTML
13 lines
11 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_exp_t Explicit Conversion (Int64 to mp_exp_t)</title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="Int64 to mp_exp_t conversion" /><meta name="Microsoft.Help.Id" content="M:Math.Gmp.Native.mp_exp_t.op_Explicit(System.Int64)~Math.Gmp.Native.mp_exp_t" /><meta name="Description" content="Converts an value to a value." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="Math.Gmp.Native" /><meta name="file" content="70eabcfd-22ae-e08e-1bc5-54f8e1ccb736" /><meta name="guid" content="70eabcfd-22ae-e08e-1bc5-54f8e1ccb736" /><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="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm" title="mp_exp_t Structure" tocid="e6a17880-791f-37d4-4942-cf26ce7d4cbf">mp_exp_t Structure</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="d0d07662-13f1-e033-9619-1c9f89c37939.htm" title="mp_exp_t Operators and Type Conversions" tocid="d0d07662-13f1-e033-9619-1c9f89c37939">mp_exp_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="021c96a1-51fa-2b2a-4c65-7ae3bb374c33.htm" title="Explicit Conversion Operators" tocid="021c96a1-51fa-2b2a-4c65-7ae3bb374c33">Explicit Conversion Operators</a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="70eabcfd-22ae-e08e-1bc5-54f8e1ccb736.htm" title="Explicit Conversion (Int64 to mp_exp_t)" tocid="70eabcfd-22ae-e08e-1bc5-54f8e1ccb736">Explicit Conversion (Int64 to mp_exp_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="78fdf4c2-15a1-fdab-23fa-806cdf3dc983.htm" title="Explicit Conversion (UInt32 to mp_exp_t)" tocid="78fdf4c2-15a1-fdab-23fa-806cdf3dc983">Explicit Conversion (UInt32 to mp_exp_t)</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="6b879622-df00-c9b2-deba-307574416ff2.htm" title="Explicit Conversion (UInt64 to mp_exp_t)" tocid="6b879622-df00-c9b2-deb
|
|||
|
Converts an <a href="http://msdn2.microsoft.com/en-us/library/6yy583ek" target="_blank">Int64</a> value to a <a href="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">mp_exp_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_exp_t</span> (
|
|||
|
<span class="identifier">long</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">Long</span>
|
|||
|
) <span class="keyword">As</span> <span class="identifier">mp_exp_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_exp_t</span> (
|
|||
|
<span class="identifier">long long</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/6yy583ek" target="_blank">System<span id="LSTEFA2CE36_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTEFA2CE36_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Int64</a><br />An <a href="http://msdn2.microsoft.com/en-us/library/6yy583ek" target="_blank">Int64</a> value.</dd></dl><h4 class="subHeading">Return Value</h4>Type: <a href="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">mp_exp_t</a><br />An <a href="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">mp_exp_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="e6a17880-791f-37d4-4942-cf26ce7d4cbf.htm">mp_exp_t Structure</a></div><div class="seeAlsoStyle"><a href="021c96a1-51fa-2b2a-4c65-7ae3bb374c33.htm"><span id="LSTEFA2CE36_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LSTEFA2CE36_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>
|