The OpenD Programming Language

CustomFloat.opOpAssign

Convert the CustomFloat to a real and perform the relevant operator on the result

struct CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
void
opOpAssign
(
string op
T
)
(
auto ref T b
)
if (
__traits(compiles, mixin (`get!real` ~ op ~ `cast(real) b`))
)
if (
isCorrectCustomFloat(precision, exponentWidth, flags)
)

Meta