Int128.opCast
bool opCast(T : bool)() constSupport casting to a bool
Parameters
T | bool |
Returns
true if value is not zero
T opCast(T : long)() if (is(byte : T)) constSupport casting to an integral type
Parameters
T | integral type |
Returns
low bits of value reinterpreted as T
T opCast(T : real)() constSupport casting to floating point type
Parameters
T | floating point type |
Returns
value cast to floating point with environment-dependent
rounding if the value is not exactly representable