SafeInt.pow

See safeOp.

  1. M pow(const M exp)
  2. SafeInt!(CallType!(std.math.pow, N, BasicScalar!M), .max(policy, intFlagPolicyOf!M), bitOps && hasBitOps!M) pow(const M exp)
    struct SafeInt(N, IntFlagPolicy _policy, Flag!"bitOps" bitOps = Yes.bitOps)
    SafeInt!(CallType!(std.math.pow, N, BasicScalar!M), .max(policy, intFlagPolicyOf!M),
    bitOps &&
    )
    pow
    const @safe
    (
    M
    )
    (
    const M exp
    )
    if (
    isCheckedInt!M ||
    isFixedPoint!M
    )
    if (
    isIntegral!N &&
    isUnqual!N
    )

Meta