Method in arith · Checked coil-stdlib

Checked::checked_pow

fn checked_pow(S a, int exp) -> Option<S>
Import
use arith::{Checked};
Source: src/arith.hy

a ** exp, or None when it does not fit or exp is negative.

Parameters#

NameType
aS
expint

Returns#

Option<S>

See also#

↑ ↓ navigate ↵ open