The OpenD Programming Language

BigInt.toString

  1. immutable(C)[] toString()
    struct BigInt(uint size64)
    @safe scope const @safe pure nothrow
    immutable(C)[]
    toString
    (
    C = char
    )
    ()
    if (
    size64 &&
    size64 <= ushort.max
    )
  2. void toString(W w)

Examples

auto str = "-34010447314490204552169750449563978034784726557588085989975288830070948234680";
auto integer = BigInt!4(str);
assert(integer.toString == str);

integer = BigInt!4.init;
assert(integer.toString == "0");

Meta