MpQ.this

Construct from pValue / qValue.

Note that qValue must be explicitly given, to prevent accidental storage of integers as rations with denominator being 1.

  1. this()
  2. this(typeof(null) )
  3. this(P value)
  4. this(P pValue, Q qValue, bool canonicalizeFlag)
    struct MpQ
    pure nothrow pragma(inline, true) @nogc @trusted
    this
    (
    P
    Q
    )
    (,,
    in bool canonicalizeFlag = false
    )

Meta