Lines Matching full:e23
21 Test{1e23 + 8.5e6, "1e23+8.5e6", "1.0000000000000001e+23"},
23 Test{1e23 + 8388609, "1e23+8388609", "1.0000000000000001e+23"},
27 // 1e23-8388608
28 // 1e23+8388608
29 // The former has an even mantissa, so "1e23" rounds to 1e23-8388608.
30 // If "1e23+8388608" is implemented as "1e23" + "8388608",
31 // that ends up computing 1e23-8388608 + 8388608 = 1e23,
32 // which rounds back to 1e23-8388608.
33 // The correct answer, of course, would be "1e23+8388608" = 1e23+8388608.
35 // A simpler case is "1e23+1", which should also round to 1e23+8388608.
36 Test{1e23 + 8.388608e6, "1e23+8.388608e6", "1.0000000000000001e+23"},
37 Test{1e23 + 1, "1e23+1", "1.0000000000000001e+23"},