DecimalView.opCast

Mir parsing supports up-to quadruple precision. The conversion error is 0 ULP for normal numbers. Subnormal numbers with an exponent greater than or equal to -512 have upper error bound equal to 1 ULP.

struct DecimalView(W, WordEndian endian = TargetEndian, Exp = sizediff_t)
scope const
T
opCast
(
T
bool wordNormalized = false
bool nonZero = false
)
()
if (
isFloatingPoint!T &&
isMutable!T
)
if (
isUnsigned!W
)

Meta