- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 302 for 1e20 (0.1 sec)
-
src/math/pow10.go
var pow10tab = [...]float64{ 1e00, 1e01, 1e02, 1e03, 1e04, 1e05, 1e06, 1e07, 1e08, 1e09, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, } // pow10postab32 stores the pre-computed value for 10**(i*32) at index i. var pow10postab32 = [...]float64{ 1e00, 1e32, 1e64, 1e96, 1e128, 1e160, 1e192, 1e224, 1e256, 1e288, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 1.2K bytes - Viewed (0) -
src/math/big/floatconv_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 24.3K bytes - Viewed (0) -
test/fixedbugs/issue11371.go
// integer") package issue11371 const a int = 1.1 // ERROR "constant 1.1 truncated to integer|floating-point constant truncated to integer|truncated to int|truncated" const b int = 1e20 // ERROR "overflows int|integer constant overflow|truncated to int|truncated" const c int = 1 + 1e-70 // ERROR "constant truncated to integer|truncated to int|truncated"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 946 bytes - Viewed (0) -
test/convlit.go
var bad6 int = 1.5 // ERROR "convert|truncate" var bad7 int = 1e100 // ERROR "overflow|truncated to int|truncated" var bad8 float32 = 1e200 // ERROR "overflow" // but these implicit conversions are okay var good1 string = "a" var good2 int = 1.0 var good3 int = 1e9 var good4 float64 = 1e20 // explicit conversion of string is okay var _ = []rune("abc") var _ = []byte("abc") // implicit is not
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 23 05:11:09 UTC 2021 - 2.4K bytes - Viewed (0) -
src/strconv/ftoa_test.go
{108678236358137.625, 'g', -1, "1.0867823635813762e+14"}, {1e23, 'e', 17, "9.99999999999999916e+22"}, {1e23, 'f', 17, "99999999999999991611392.00000000000000000"}, {1e23, 'g', 17, "9.9999999999999992e+22"}, {1e23, 'e', -1, "1e+23"}, {1e23, 'f', -1, "100000000000000000000000"}, {1e23, 'g', -1, "1e+23"}, {below1e23, 'e', 17, "9.99999999999999748e+22"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 24 23:50:20 UTC 2022 - 9.3K bytes - Viewed (0) -
test/literal.go
var f00 float32 = 3.14159 var f01 float32 = -3.14159 var f02 float32 = +3.14159 var f03 float32 = 0.0 var f04 float32 = .0 var f05 float32 = 0. var f06 float32 = -0.0 var f07 float32 = 1e10 var f08 float32 = -1e10 var f09 float32 = 1e-10 var f10 float32 = 1e+10 var f11 float32 = 1.e-10 var f12 float32 = 1.e+10 var f13 float32 = .1e-10 var f14 float32 = .1e+10 var f15 float32 = 1.1e-10
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 12 18:17:49 UTC 2013 - 5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/resource/amount.go
} return positiveScaleInt64(a.value, a.scale) } // AsScaledInt64 returns an int64 representing the value of this amount at the specified scale, // rounding up, or false if that would result in overflow. (1e20).AsScaledInt64(1) would result // in overflow because 1e19 is not representable as an int64. Note that setting a scale larger // than the current value may result in loss of precision - i.e. (1e-6).AsScaledInt64(0) would
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 19:42:28 UTC 2023 - 9.3K bytes - Viewed (0) -
src/strconv/atof.go
} return bits, overflow } // Exact powers of 10. var float64pow10 = []float64{ 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, } var float32pow10 = []float32{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10} // If possible to convert decimal representation to 64-bit float f exactly,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 06 18:50:50 UTC 2022 - 15.9K bytes - Viewed (0) -
src/strconv/eisel_lemire.go
{0x0000000000000000, 0xAD78EBC5AC620000}, // 1e20 {0x0000000000000000, 0xD8D726B7177A8000}, // 1e21 {0x0000000000000000, 0x878678326EAC9000}, // 1e22 {0x0000000000000000, 0xA968163F0A57B400}, // 1e23 {0x0000000000000000, 0xD3C21BCECCEDA100}, // 1e24 {0x0000000000000000, 0x84595161401484A0}, // 1e25 {0x0000000000000000, 0xA56FA5B99019A5C8}, // 1e26 {0x0000000000000000, 0xCECB8F27F4200F3A}, // 1e27
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:34:30 UTC 2022 - 41.4K bytes - Viewed (0) -
test/inline_big.go
a[98] = 0 a[99] = 0 a[100] = 0 a[101] = 0 a[102] = 0 a[103] = 0 a[104] = 0 a[105] = 0 a[106] = 0 a[107] = 0 a[108] = 0 a[109] = 0 a[110] = 0 a[111] = 0 a[112] = 0 a[113] = 0 a[114] = 0 a[115] = 0 a[116] = 0 a[117] = 0 a[118] = 0 a[119] = 0 a[120] = 0 a[121] = 0 a[122] = 0 a[123] = 0 a[124] = 0 a[125] = 0 a[126] = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 18 11:58:37 UTC 2023 - 12.7K bytes - Viewed (0)