- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for archHypot (0.08 sec)
-
src/math/hypot.go
// // Special cases are: // // Hypot(±Inf, q) = +Inf // Hypot(p, ±Inf) = +Inf // Hypot(NaN, q) = NaN // Hypot(p, NaN) = NaN func Hypot(p, q float64) float64 { if haveArchHypot { return archHypot(p, q) } return hypot(p, q) } func hypot(p, q float64) float64 { p, q = Abs(p), Abs(q) // special cases switch { case IsInf(p, 1) || IsInf(q, 1): return Inf(1) case IsNaN(p) || IsNaN(q):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 850 bytes - Viewed (0)