- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 99999999999999974834176 (0.28 sec)
-
src/strconv/ftoa_test.go
. "strconv" "testing" ) type ftoaTest struct { f float64 fmt byte prec int s string } func fdiv(a, b float64) float64 { return a / b } const ( below1e23 = 99999999999999974834176 above1e23 = 100000000000000008388608 ) var ftoatests = []ftoaTest{ {1, 'e', 5, "1.00000e+00"}, {1, 'f', 5, "1.00000"}, {1, 'g', 5, "1"}, {1, 'g', -1, "1"}, {1, 'x', -1, "0x1p+00"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 24 23:50:20 UTC 2022 - 9.3K bytes - Viewed (0) -
src/math/big/floatconv_test.go
t.Errorf("%s: got %v (%v); want %v", test.s, &x, f, test.x) } } } func fdiv(a, b float64) float64 { return a / b } const ( below1e23 = 99999999999999974834176 above1e23 = 100000000000000008388608 ) func TestFloat64Text(t *testing.T) { for _, test := range []struct { x float64 format byte prec int want string }{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 24.3K bytes - Viewed (0) -
src/strconv/atof_test.go
{"1.1.", "0", ErrSyntax}, {"1e23", "1e+23", nil}, {"1E23", "1e+23", nil}, {"100000000000000000000000", "1e+23", nil}, {"1e-100", "1e-100", nil}, {"123456700", "1.234567e+08", nil}, {"99999999999999974834176", "9.999999999999997e+22", nil}, {"100000000000000000000001", "1.0000000000000001e+23", nil}, {"100000000000000008388608", "1.0000000000000001e+23", nil}, {"100000000000000016777215", "1.0000000000000001e+23", nil},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 16:24:57 UTC 2022 - 23.6K bytes - Viewed (0)