Method in arith · Wrapping coil-stdlib

Wrapping::wrapping_pow

fn wrapping_pow(S a, int exp) -> S
Import
use arith::{Wrapping};
Source: src/arith.hy

a ** exp modulo 2^64. Panics with negative exponent when exp < 0, like **.

Parameters#

NameType
aS
expint

Returns#

S

See also#

↑ ↓ navigate ↵ open