- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for acosh (0.04 sec)
-
src/math/acosh.go
// Method : // Based on // acosh(x) = log [ x + sqrt(x*x-1) ] // we have // acosh(x) := log(x)+ln2, if x is large; else // acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else // acosh(x) := log1p(t+sqrt(2.0*t+t*t)); where t=x-1. // // Special cases: // acosh(x) is NaN with signal if x<1. // acosh(NaN) is NaN without signal. // // Acosh returns the inverse hyperbolic cosine of x. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
src/math/example_test.go
// license that can be found in the LICENSE file. package math_test import ( "fmt" "math" ) func ExampleAcos() { fmt.Printf("%.2f", math.Acos(1)) // Output: 0.00 } func ExampleAcosh() { fmt.Printf("%.2f", math.Acosh(1)) // Output: 0.00 } func ExampleAsin() { fmt.Printf("%.2f", math.Asin(0)) // Output: 0.00 } func ExampleAsinh() { fmt.Printf("%.2f", math.Asinh(0))
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/cmplx/sin.go
} // Complex hyperbolic cosine // // DESCRIPTION: // // ccosh(z) = cosh x cos y + i sinh x sin y . // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // IEEE -10,+10 30000 2.9e-16 8.1e-17 // Cosh returns the hyperbolic cosine of x. func Cosh(x complex128) complex128 { switch re, im := real(x), imag(x); {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 18 17:59:44 UTC 2022 - 4.8K bytes - Viewed (0) -
src/math/sinh.go
} if sign { temp = -temp } return temp } // Cosh returns the hyperbolic cosine of x. // // Special cases are: // // Cosh(±0) = 1 // Cosh(±Inf) = +Inf // Cosh(NaN) = NaN func Cosh(x float64) float64 { if haveArchCosh { return archCosh(x) } return cosh(x) } func cosh(x float64) float64 { x = Abs(x) if x > 21 { return Exp(x) * 0.5 } ex := Exp(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.7K bytes - Viewed (0) -
src/math/asin.go
temp = satan(x / temp) } if sign { temp = -temp } return temp } // Acos returns the arccosine, in radians, of x. // // Special case is: // // Acos(x) = NaN if x < -1 or x > 1 func Acos(x float64) float64 { if haveArchAcos { return archAcos(x) } return acos(x) } func acos(x float64) float64 { return Pi/2 - Asin(x)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc
static constexpr char kMlirModuleStr[] = R"( module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} { func.func @main(%arg0 : tensor<1xf32>) -> tensor<1xf32> { %0 = "tf.Acos"(%arg0) : (tensor<1xf32>) -> tensor<1xf32> func.return %0 : tensor<1xf32> } })"; static constexpr char kBadMlirModuleStr[] = R"(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 6K bytes - Viewed (0) -
src/math/tanh.go
// MINLOG = -8.872283911167299960540e+01 = log(2**-128) // // A rational function is used for |x| < 0.625. The form // x + x**3 P(x)/Q(x) of Cody & Waite is employed. // Otherwise, // tanh(x) = sinh(x)/cosh(x) = 1 - 2/(exp(2x) + 1). // // ACCURACY: // // Relative error: // arithmetic domain # trials peak rms // IEEE -2,2 30000 2.5e-16 5.8e-17 //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 2.7K bytes - Viewed (0)