- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for ATAN2 (0.05 sec)
-
src/math/atan2.go
// Atan2(+Inf, -Inf) = 3Pi/4 // Atan2(-Inf, -Inf) = -3Pi/4 // Atan2(y, +Inf) = 0 // Atan2(y>0, -Inf) = +Pi // Atan2(y<0, -Inf) = -Pi // Atan2(+Inf, x) = +Pi/2 // Atan2(-Inf, x) = -Pi/2 func Atan2(y, x float64) float64 { if haveArchAtan2 { return archAtan2(y, x) } return atan2(y, x) } func atan2(y, x float64) float64 { // special cases switch { case IsNaN(y) || IsNaN(x): return NaN()
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/atan2_s390x.s
// Atan2(+Inf, +Inf) = +Pi/4 // Atan2(-Inf, +Inf) = -Pi/4 // Atan2(+Inf, -Inf) = 3Pi/4 // Atan2(-Inf, -Inf) = -3Pi/4 // Atan2(y, +Inf) = 0 // Atan2(y>0, -Inf) = +Pi // Atan2(y<0, -Inf) = -Pi // Atan2(+Inf, x) = +Pi/2 // Atan2(-Inf, x) = -Pi/2 // The algorithm used is minimax polynomial approximation // with coefficients determined with a Remez exchange algorithm. TEXT ·atan2Asm(SB), NOSPLIT, $0-24
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 25 04:06:34 UTC 2020 - 6.9K bytes - Viewed (0) -
src/math/all_test.go
-Pi, // atan2(-0, -Pi) -Pi, // atan2(-0, -0) Copysign(0, -1), // atan2(-0, +0) Copysign(0, -1), // atan2(-0, +Pi) Copysign(0, -1), // atan2(-0, +Inf) NaN(), // atan2(-0, NaN) Pi, // atan2(+0, -Inf) Pi, // atan2(+0, -Pi) Pi, // atan2(+0, -0) 0, // atan2(+0, +0) 0, // atan2(+0, +Pi) 0, // atan2(+0, +Inf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
src/math/cmplx/phase.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 372 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir
// CHECK: tf.Atan2 // expected-remark@+1 {{lowering requires bounded tensor operands}} %0 = "tf.Atan2"(%arg0, %arg0) : (tensor<*xf32>, tensor<*xf32>) -> tensor<*xf32> func.return %0 : tensor<*xf32> } // CHECK-LABEL: dynamic_operand func.func @dynamic_operand(%arg0: tensor<?xf32>) -> tensor<?xf32> { // CHECK: tf.Atan2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 38.6K bytes - Viewed (1) -
src/math/export_s390x_test.go
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/arith_s390x_test.go
} for i := 0; i < len(vf); i++ { if f := Atan2Novec(10, vf[i]); !veryclose(atan2[i], f) { t.Errorf("Atan2(10, %g) = %g, want %g", vf[i], f, atan2[i]) } } for i := 0; i < len(vfatan2SC); i++ { if f := Atan2Novec(vfatan2SC[i][0], vfatan2SC[i][1]); !alike(atan2SC[i], f) { t.Errorf("Atan2(%g, %g) = %g, want %g", vfatan2SC[i][0], vfatan2SC[i][1], f, atan2SC[i]) } } }
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 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 } func ExampleCopysign() { fmt.Printf("%.2f", math.Copysign(3.2, -1)) // Output: -3.20 }
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 ·atan2TrampolineSetup(SB), NOSPLIT, $0 MOVB ·hasVX(SB), R1 CMPBEQ R1, $1, vectorimpl // vectorfacility = 1, vector supported MOVD $·atan2vectorfacility+0x00(SB), R1 MOVD $·atan2(SB), R2 MOVD R2, 0(R1) BR ·atan2(SB) vectorimpl: MOVD $·atan2vectorfacility+0x00(SB), R1 MOVD $·atan2Asm(SB), R2 MOVD R2, 0(R1) BR ·atan2Asm(SB) GLOBL ·atan2vectorfacility+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) -
src/math/cmplx/asin.go
case math.IsNaN(re) || math.IsNaN(im): return NaN() } x2 := real(x) * real(x) a := 1 - x2 - imag(x)*imag(x) if a == 0 { return NaN() } t := 0.5 * math.Atan2(2*real(x), a) w := reducePi(t) t = imag(x) - 1 b := x2 + t*t if b == 0 { return NaN() } t = imag(x) + 1 c := (x2 + t*t) / b return complex(w, 0.25*math.Log(c)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 03:16:37 UTC 2020 - 5.9K bytes - Viewed (0)