tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
log2
tango
math
Math
Calculates the base-2 logarithm of x:
log
2
x
Special Values
x
log2(x)
divide by 0?
invalid?
±0.0
-∞
yes
no
<0.0
NaN
no
yes
+∞
+∞
no
no
real
log2
(
real
x
)
Meta
Source
See Implementation
tango
math
Math
functions
abs
acos
acosh
asin
asinh
atan
atan2
atanPi
atanh
cbrt
ceil
conj
cos
cosPi
cosh
exp
exp2
expm1
feq
floor
hypot
log
log10
log1p
log2
max
maxNaN
maxNum
min
minNaN
minNum
poly
pow
rationalPoly
rndint
rndlong
round
sin
sinPi
sinh
sqrt
tan
tanh
tanl
trunc
variables
E
EULERGAMMA
LN10
LN2
LOG10E
LOG2
LOG2E
LOG2T
MAXLOG
MINLOG
M_1_PI
M_2_PI
M_2_SQRTPI
PI
PI_2
PI_4
SQRT1_2
SQRT2
Calculates the base-2 logarithm of x: log2x