The OpenD Programming Language

BigInt.this

Construct a BigInt from another BigInt.

  1. this(Range s)
  2. this(Range s)
  3. this(bool isNegative, Range magnitude)
  4. this(T x)
  5. this(T x)
    struct BigInt
    pure nothrow @safe
    this
    (
    T
    )
    (
    T x
    )
    if (
    is(immutable T == immutable BigInt)
    )

Examples

const(BigInt) b1 = BigInt("1_234_567_890");
BigInt b2 = BigInt(b1);
assert(b2 == BigInt("1_234_567_890"));

Meta