ConvOverflowException if the number exceeds
the target type's range.
T opCast(T: bool)() pure nothrow @nogc @safe constImplements casting to bool.
T opCast(T: ulong)() pure @safe constImplements casting to integer types.
ConvOverflowException if the number exceeds
the target type's range.
T opCast(T)() if (isFloatingPoint!T) @safe nothrow @nogc constImplements casting to floating point types.
Implements casting to/from qualified BigInt's.
Warning: Casting to/from const or immutable may break type system guarantees. Use with care.