powm

Get base ^^ exp (modulo mod).

Parameter exp must be positive.

  1. _MpZ!copyable powm(_MpZ!copyable base, _MpZ!copyable exp, _MpZ!copyable mod)
    pure nothrow @trusted
    _MpZ!copyable
    powm
    (
    bool copyable
    )
    (
    auto ref const _MpZ!copyable base
    ,
    auto ref const _MpZ!copyable exp
    ,
    auto ref const _MpZ!copyable mod
    )
  2. _MpZ!copyable powm(_MpZ!copyable base, ulong exp, _MpZ!copyable mod)

Meta