- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestFloat64 (0.37 sec)
-
src/runtime/softfloat64_test.go
} } func add(x, y float64) float64 { return x + y } func sub(x, y float64) float64 { return x - y } func mul(x, y float64) float64 { return x * y } func div(x, y float64) float64 { return x / y } func TestFloat64(t *testing.T) { base := []float64{ 0, math.Copysign(0, -1), -1, 1, math.NaN(), math.Inf(+1), math.Inf(-1), 0.1, 1.5, 1.9999999999999998, // all 1s mantissa
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 4K bytes - Viewed (0)