const math.Pi
32 uses
math (current package)
asin.go#L42: temp = Pi/2 - satan(temp/x)
asin.go#L66: return Pi/2 - Asin(x)
atan.go#L85: return Pi/2 - xatan(1/x) + Morebits
atan.go#L87: return Pi/4 + xatan((x-1)/(x+1)) + 0.5*Morebits
atan2.go#L46: return Copysign(Pi, y)
atan2.go#L48: return Copysign(Pi/2, y)
atan2.go#L53: return Copysign(Pi/4, y)
atan2.go#L60: return Copysign(3*Pi/4, y)
atan2.go#L62: return Copysign(Pi, y)
atan2.go#L65: return Copysign(Pi/2, y)
atan2.go#L72: return q + Pi
atan2.go#L74: return q - Pi
const.go#L13: Pi = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
gamma.go#L164: z = q * Sin(Pi*z)
gamma.go#L172: z = Pi / absz / sq1 / sq2
gamma.go#L174: z = Pi / d
j0.go#L222: return U00 + (2/Pi)*Log(x) // |x| < ~7.4506e-9
j0.go#L227: return u/v + (2/Pi)*J0(x)*Log(x) // ~7.4506e-9 < |x| < 2.0
j1.go#L217: return -(2 / Pi) / x
j1.go#L222: return x*(u/v) + (2/Pi)*(J1(x)*Log(x)-1/x)
lgamma.go#L225: nadj = Log(Pi / Abs(t*x))
lgamma.go#L331: return -Sin(Pi * x)
lgamma.go#L355: x = Sin(Pi * x)
lgamma.go#L357: x = Cos(Pi * (0.5 - x))
lgamma.go#L359: x = Sin(Pi * (1 - x))
lgamma.go#L361: x = -Cos(Pi * (x - 1.5))
lgamma.go#L363: x = Sin(Pi * (x - 2))
sin.go#L146: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
sin.go#L218: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
sincos.go#L42: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
tan.go#L115: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
trig_reduce.go#L32: const PI4 = Pi / 4
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |