The OpenD Programming Language

CustomFloat.opCmp

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

struct CustomFloat(uint precision, uint exponentWidth, CustomFloatFlags flags, uint bias)
int
opCmp
(
T
)
(
auto ref T b
)
if (
__traits(compiles, cast(real)b)
)
if (
isCorrectCustomFloat(precision, exponentWidth, flags)
)

Meta