- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestAcosh (0.16 sec)
-
src/math/cmplx/cmath_test.go
} } for _, pt := range branchPoints { if f0, f1 := Acos(pt[0]), Acos(pt[1]); !cVeryclose(f0, f1) { t.Errorf("Acos(%g) not continuous, got %g want %g", pt[0], f0, f1) } } } func TestAcosh(t *testing.T) { for i := 0; i < len(vc); i++ { if f := Acosh(vc[i]); !cSoclose(acosh[i], f, 1e-14) { t.Errorf("Acosh(%g) = %g, want %g", vc[i], f, acosh[i]) } } for _, v := range acoshSC {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 48.1K bytes - Viewed (0) -
src/math/all_test.go
} } for i := 0; i < len(vfacosSC); i++ { if f := Acos(vfacosSC[i]); !alike(acosSC[i], f) { t.Errorf("Acos(%g) = %g, want %g", vfacosSC[i], f, acosSC[i]) } } } func TestAcosh(t *testing.T) { for i := 0; i < len(vf); i++ { a := 1 + Abs(vf[i]) if f := Acosh(a); !veryclose(acosh[i], f) { t.Errorf("Acosh(%g) = %g, want %g", a, f, acosh[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)