The OpenD Programming Language

CustomFloat.opBinary

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

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

Meta