The OpenD Programming Language

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)
@safe const scope
static if(W.sizeof >= size_t.sizeof)
T
opCast
(
T
bool wordNormalized = false
)
()
if (
is(Unqual!W == size_t)
)

Meta