Microsoft.Scripting.Math.BigInteger.ToInt64 C# (CSharp) Метод

ToInt64() публичный Метод

public ToInt64 ( ) : long
Результат long
    public long ToInt64() {
      long ret;
      if (AsInt64(out ret)) return ret;
      throw new OverflowException(MathResources.BigIntWontFitLong);
    }

Same methods

BigInteger::ToInt64 ( IFormatProvider provider ) : long

Usage Example

Пример #1
0
 public static object call_function(CodeContext context, BigInteger address, PythonTuple args) {
     return call_function(context, new IntPtr(address.ToInt64()), args);
 }
All Usage Examples Of Microsoft.Scripting.Math.BigInteger::ToInt64