Skip to contents

Binary exponentiation.

Usage

morie_big_pow(a, k)

Arguments

a

Base, coercible by morie_bigint().

k

Non-negative whole exponent.

Value

A morie_bigint.

Examples

morie_big_pow(2, 100)
#> 1267650600228229401496703205376