tango ~master (2021-12-14T19:14:08.8989381)
Dub
Repo
pow
tango
math
Math
Calculates x$(SUP y).
Special Values
x
y
pow(x, y)
div 0
invalid?
anything
±0.0
1.0
no
no
|x| > 1
+∞
+∞
no
no
|x| < 1
+∞
+0.0
no
no
|x| > 1
-∞
+0.0
no
no
|x| < 1
-∞
+∞
no
no
+∞
> 0.0
+∞
no
no
+∞
< 0.0
+0.0
no
no
-∞
odd integer > 0.0
-∞
no
no
-∞
> 0.0, not odd integer
+∞
no
no
-∞
odd integer < 0.0
-0.0
no
no
-∞
< 0.0, not odd integer
+0.0
no
no
±1.0
±∞
NaN
no
yes
< 0.0
finite, nonintegral
NaN
no
yes
±0.0
odd integer < 0.0
$(PLUSMNINF)
yes
no
±0.0
< 0.0, not odd integer
+∞
yes
no
±0.0
odd integer > 0.0
±0.0
no
no
±0.0
> 0.0, not odd integer
+0.0
no
no
real
pow
(real x, uint n)
real
pow
(real x, int n)
real
pow
(real x, real y)
real
pow
(
real
x
,
real
y
)
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 x$(SUP y).