1234567891011121314151617181920212223242526272829303132333435 | '\" t
.\" Copyright (c) 2025 Bruce Hill
.\" All rights reserved.
.\"
.TH Num.exp2 3 2025-11-29 "Tomo man-pages"
.SH NAME
Num.exp2 \- base-2 exponentiation
.SH LIBRARY
Tomo Standard Library
.SH SYNOPSIS
.nf
.BI Num.exp2\ :\ func(x:\ Num\ ->\ Num)
.fi
.SH DESCRIPTION
Computes $2^x$ for a number.
.SH ARGUMENTS
.TS
allbox;
lb lb lbx
l l l.
Name Type Description
x Num The exponent.
.TE
.SH RETURN
The value of $2^x$.
.SH EXAMPLES
.EX
assert (3.0).exp2() == 8
.EE
.SH SEE ALSO
.BR Tomo-Num (3)
|