BigInt.toLong

long toLong() @safe pure nothrow const @nogc

Returns

The value of this BigInt as a long, or long.max/long.min

if outside the representable range.