Decimal.opCast

Implementation of cast operator. Supported casts: integral, floating point, _decimal, char, bool Exceptions:

Data typeInvalidOverflowUnderflowInexact
integral
char
float
bool
decimal
struct Decimal(int bits)
const
@IEEECompliant("convertFormat", 22)
@IEEECompliant("encodeBinary", 23)
T
opCast
(
T
)
()
if (
bits == 32 ||
bits == 64
||
bits == 128
)

Meta