Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

exp2

Calculates the binary exponential: 2^x

Supports both positive and negative exponents.

Gas Cost

~167,000 (f128)

Fully qualified path: cairo_fp::f128::math::ops::exp2

fn exp2(a: Fixed) -> Fixed