- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for ATan (0.04 sec)
-
src/math/atan.go
} return Pi/4 + xatan((x-1)/(x+1)) + 0.5*Morebits } // Atan returns the arctangent, in radians, of x. // // Special cases are: // // Atan(±0) = ±0 // Atan(±Inf) = ±Pi/2 func Atan(x float64) float64 { if haveArchAtan { return archAtan(x) } return atan(x) } func atan(x float64) float64 { if x == 0 { return x } if x > 0 { return satan(x) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 3K bytes - Viewed (0) -
src/math/atan2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.5K bytes - Viewed (0) -
src/math/atan_s390x.s
GLOBL ·atanxmone<> + 0(SB), RODATA, $8 // Atan returns the arctangent, in radians, of the argument. // // Special cases are: // Atan(±0) = ±0 // Atan(±Inf) = ±Pi/2Pi // The algorithm used is minimax polynomial approximation // with coefficients determined with a Remez exchange algorithm. TEXT ·atanAsm(SB), NOSPLIT, $0-16 FMOVD x+0(FP), F0 //special case Atan(±0) = ±0 FMOVD $(0.0), F1 FCMPU F0, F1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 16 15:34:41 UTC 2019 - 3.7K bytes - Viewed (0) -
src/math/export_s390x_test.go
var TanhNoVec = tanh var Log1pNovec = log1p var AtanhNovec = atanh var AcosNovec = acos var AcoshNovec = acosh var AsinNovec = asin var AsinhNovec = asinh var ErfNovec = erf var ErfcNovec = erfc var AtanNovec = atan var Atan2Novec = atan2 var CbrtNovec = cbrt var LogNovec = log var TanNovec = tan var ExpNovec = exp var Expm1Novec = expm1 var PowNovec = pow var HypotNovec = hypot
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 08 19:52:30 UTC 2017 - 732 bytes - Viewed (0) -
src/math/cmplx/cmath_test.go
} } } func TestAtan(t *testing.T) { for i := 0; i < len(vc); i++ { if f := Atan(vc[i]); !cVeryclose(atan[i], f) { t.Errorf("Atan(%g) = %g, want %g", vc[i], f, atan[i]) } } for _, v := range atanSC { if f := Atan(v.in); !cAlike(v.want, f) { t.Errorf("Atan(%g) = %g, want %g", v.in, f, v.want) } if math.IsNaN(imag(v.in)) || math.IsNaN(imag(v.want)) {
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/cmplx/asin.go
// had peak relative error 1.5e-16, rms relative error // 2.9e-17. See also clog(). // Atan returns the inverse tangent of x. func Atan(x complex128) complex128 { switch re, im := real(x), imag(x); { case im == 0: return complex(math.Atan(re), im) case re == 0 && math.Abs(im) <= 1: return complex(re, math.Atanh(im)) case math.IsInf(im, 0) || math.IsInf(re, 0):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 5.9K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
} TEST_F(CWiseUnaryGradTest, Atan) { auto x_fn = [this](const int i) { return RV({0, -1, 1, -2, 2, -3, 3}); }; TestCWiseGrad<float, float>(ATAN, x_fn); } TEST_F(CWiseUnaryGradTest, Atan_Complex) { auto x_fn = [this](const int i) { return CRV({{1, 0}, {0, 1}, {2, -1}, {1, 2}, {3, 4}}); }; // TODO(kbsriram) // Add test when the atan kernel supports complex numbers
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/math/arith_s390x_test.go
if !HasVX { t.Skipf("no vector support") } for i := 0; i < len(vf); i++ { if f := AtanNovec(vf[i]); !veryclose(atan[i], f) { t.Errorf("Atan(%g) = %g, want %g", vf[i], f, atan[i]) } } for i := 0; i < len(vfatanSC); i++ { if f := AtanNovec(vfatanSC[i]); !alike(atanSC[i], f) { t.Errorf("Atan(%g) = %g, want %g", vfatanSC[i], f, atanSC[i]) } } } func TestAtan2Novec(t *testing.T) { if !HasVX {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 08 19:52:30 UTC 2017 - 10.8K bytes - Viewed (0) -
src/math/example_test.go
func ExampleAsin() { fmt.Printf("%.2f", math.Asin(0)) // Output: 0.00 } func ExampleAsinh() { fmt.Printf("%.2f", math.Asinh(0)) // Output: 0.00 } func ExampleAtan() { fmt.Printf("%.2f", math.Atan(0)) // Output: 0.00 } func ExampleAtan2() { fmt.Printf("%.2f", math.Atan2(0, 0)) // Output: 0.00 } func ExampleAtanh() { fmt.Printf("%.2f", math.Atanh(0)) // Output: 0.00 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 07 18:09:53 UTC 2021 - 3.7K bytes - Viewed (0) -
src/math/stubs_s390x.s
TEXT ·atanTrampolineSetup(SB), NOSPLIT, $0 MOVB ·hasVX(SB), R1 CMPBEQ R1, $1, vectorimpl // vectorfacility = 1, vector supported MOVD $·atanvectorfacility+0x00(SB), R1 MOVD $·atan(SB), R2 MOVD R2, 0(R1) BR ·atan(SB) vectorimpl: MOVD $·atanvectorfacility+0x00(SB), R1 MOVD $·atanAsm(SB), R2 MOVD R2, 0(R1) BR ·atanAsm(SB) GLOBL ·atanvectorfacility+0x00(SB), NOPTR, $8
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 15 15:48:19 UTC 2021 - 12.4K bytes - Viewed (0)