Lines Matching full:pow
24 // Pow returns x**y, the base-x exponential of y.
28 // Pow(x, ±0) = 1 for any x
29 // Pow(1, y) = 1 for any y
30 // Pow(x, 1) = x for any x
31 // Pow(NaN, y) = NaN
32 // Pow(x, NaN) = NaN
33 // Pow(±0, y) = ±Inf for y an odd integer < 0
34 // Pow(±0, -Inf) = +Inf
35 // Pow(±0, +Inf) = +0
36 // Pow(±0, y) = +Inf for finite y < 0 and not an odd integer
37 // Pow(±0, y) = ±0 for y an odd integer > 0
38 // Pow(±0, y) = +0 for finite y > 0 and not an odd integer
39 // Pow(-1, ±Inf) = 1
40 // Pow(x, +Inf) = +Inf for |x| > 1
41 // Pow(x, -Inf) = +0 for |x| > 1
42 // Pow(x, +Inf) = +0 for |x| < 1
43 // Pow(x, -Inf) = +Inf for |x| < 1
44 // Pow(+Inf, y) = +Inf for y > 0
45 // Pow(+Inf, y) = +0 for y < 0
46 // Pow(-Inf, y) = Pow(-0, -y)
47 // Pow(x, y) = NaN for finite x < 0 and finite non-integer y
48 func Pow(x, y float64) float64 { func
52 return pow(x, y)
55 func pow(x, y float64) float64 { func
87 return Pow(1/x, -y) // Pow(-0, -y)