- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleTanh (0.08 sec)
-
src/math/example_test.go
// Output: 0.00, 1.00 } func ExampleSinh() { fmt.Printf("%.2f", math.Sinh(0)) // Output: 0.00 } func ExampleTan() { fmt.Printf("%.2f", math.Tan(0)) // Output: 0.00 } func ExampleTanh() { fmt.Printf("%.2f", math.Tanh(0)) // Output: 0.00 } func ExampleSqrt() { const ( a = 3 b = 4 ) c := math.Sqrt(a*a + b*b) fmt.Printf("%.1f", c) // Output: 5.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)