The OpenD Programming Language

Fp.opBinary

Uses approximate division for now TODO: use full precision division for void when Fp division is ready

  1. Fp!(max(size, rhsSize)) opBinary(Fp!rhsSize rhs)
  2. Fp!(max(size, rhsSize)) opBinary(Fp!rhsSize rhs)
    struct Fp(uint size)
    nothrow const
    Fp!(max(size, rhsSize))
    opBinary
    (
    string op : "/"
    uint rhsSize
    )
    (
    Fp!rhsSize rhs
    )
    if (
    size % (uint.sizeof * 8) == 0 &&
    size >= (uint.sizeof * 8)
    )

Meta