const math.Pi
32 uses
math (current package)
asin.go#L41: temp = Pi/2 - satan(temp/x)
asin.go#L64: 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#L45: return Copysign(Pi, y)
atan2.go#L47: return Copysign(Pi/2, y)
atan2.go#L52: return Copysign(Pi/4, y)
atan2.go#L59: return Copysign(3*Pi/4, y)
atan2.go#L61: return Copysign(Pi, y)
atan2.go#L64: return Copysign(Pi/2, y)
atan2.go#L71: return q + Pi
atan2.go#L73: return q - Pi
const.go#L13: Pi = 3.14159265358979323846264338327950288419716939937510582097494459 // https://oeis.org/A000796
gamma.go#L163: z = q * Sin(Pi*z)
gamma.go#L171: z = Pi / absz / sq1 / sq2
gamma.go#L173: z = Pi / d
j0.go#L220: return U00 + (2/Pi)*Log(x) // |x| < ~7.4506e-9
j0.go#L225: return u/v + (2/Pi)*J0(x)*Log(x) // ~7.4506e-9 < |x| < 2.0
j1.go#L215: return -(2 / Pi) / x
j1.go#L220: return x*(u/v) + (2/Pi)*(J1(x)*Log(x)-1/x)
lgamma.go#L224: nadj = Log(Pi / Abs(t*x))
lgamma.go#L330: return -Sin(Pi * x)
lgamma.go#L354: x = Sin(Pi * x)
lgamma.go#L356: x = Cos(Pi * (0.5 - x))
lgamma.go#L358: x = Sin(Pi * (1 - x))
lgamma.go#L360: x = -Cos(Pi * (x - 1.5))
lgamma.go#L362: x = Sin(Pi * (x - 2))
sin.go#L145: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
sin.go#L216: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
sincos.go#L41: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
tan.go#L114: j = uint64(x * (4 / Pi)) // integer part of x/(Pi/4), as integer for tests on the phase angle
trig_reduce.go#L30: const PI4 = Pi / 4