- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExampleFloat_Cmp (0.26 sec)
-
src/math/big/floatexample_test.go
fmt.Println(x) } // Output: // 0.015625 // 0.03125 // 0.0625 // 0.125 // 0.25 // 0.5 // 1 // 2 // 4 // 8 // 16 } func ExampleFloat_Cmp() { inf := math.Inf(1) zero := 0.0 operands := []float64{-inf, -1.2, -zero, 0, +1.2, +inf} fmt.Println(" x y cmp") fmt.Println("---------------") for _, x64 := range operands {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 15:46:54 UTC 2024 - 4.1K bytes - Viewed (0)