- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for sincosc3 (0.12 sec)
-
src/math/j1.go
) // special cases switch { case IsNaN(x): return x case IsInf(x, 0) || x == 0: return 0 } sign := false if x < 0 { x = -x sign = true } if x >= 2 { s, c := Sincos(x) ss := -s - c cc := s - c // make sure x+x does not overflow if x < MaxFloat64/2 { z := Cos(x + x) if s*c > 0 { cc = z / ss } else { ss = z / cc } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 13.3K bytes - Viewed (0)