ocean v6.1.0 (2021-04-20T01:38:04Z)
Home
Dub
Repo
pow
ocean
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
)
ulong
pow
(ulong base, ulong power)
Meta
Source
See Implementation
ocean
math
Math
functions
abs
acos
acosh
asin
asinh
atan
atan2
atanPi
atanh
cbrt
ceil
conj
cos
cosPi
cosh
divRoundEven
exp
exp2
expm1
floor
hypot
log
log10
log1p
log2
max
maxNaN
maxNum
min
minNaN
minNum
poly
pow
rationalPoly
rndint
rndlong
round
sin
sinPi
sinh
sqrt
tan
tanh
trunc
static 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).