CustomFloat.opBinaryRight

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

struct CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
real
opBinaryRight
(
string op
T
)
(
T a
)
if (
__traits(compiles, mixin (`a` ~ op ~ `get!real`)) &&
!__traits(compiles, mixin (`get!real` ~ op ~ `b`))
&&
!__traits(compiles, mixin (`get!real` ~ op ~ `b.get!real`))
)
if (
isCorrectCustomFloat(precision, exponentWidth, flags)
)

Meta