- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SqrtGo (0.21 sec)
-
src/math/export_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package math // Export internal functions for testing. var ExpGo = exp var Exp2Go = exp2 var HypotGo = hypot var SqrtGo = sqrt var TrigReduce = trigReduce
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 13 06:33:18 UTC 2018 - 357 bytes - Viewed (0) -
src/math/all_test.go
a := Abs(vf[i]) if f := SqrtGo(a); sqrt[i] != f { t.Errorf("SqrtGo(%g) = %g, want %g", a, f, sqrt[i]) } a = Abs(vf[i]) if f := Sqrt(a); sqrt[i] != f { t.Errorf("Sqrt(%g) = %g, want %g", a, f, sqrt[i]) } } for i := 0; i < len(vfsqrtSC); i++ { if f := SqrtGo(vfsqrtSC[i]); !alike(sqrtSC[i], f) { t.Errorf("SqrtGo(%g) = %g, want %g", vfsqrtSC[i], f, sqrtSC[i]) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0)