- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for archHypot (0.28 sec)
-
src/math/hypot_asm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build 386 || amd64 package math const haveArchHypot = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 264 bytes - Viewed (0) -
src/math/hypot_noasm.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !386 && !amd64 package math const haveArchHypot = false func archHypot(p, q float64) float64 { panic("not implemented")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 297 bytes - Viewed (0) -
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)