CustomFloat.opOpAssign

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

  1. real opUnary()
  2. real opBinary(T b)
  3. real opBinary(T b)
  4. real opBinaryRight(T a)
  5. int opCmp(T b)
  6. void opOpAssign(T b)
    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)
    )
  7. template toString()

Meta

Suggestion Box / Bug Report