Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
pow2 : int -> num
SYNOPSIS
Returns power of 2 as unlimited-size integer.
DESCRIPTION
When applied to an integer n (type int), pow2 returns $2^n$ as an
unlimited-precision integer (type num). The argument may be negative.
FAILURE CONDITIONS
Never fails.
EXAMPLE
# pow2(-2);;
val it : num = 1/4
# pow2(64);;
val it : num = 18446744073709551616