Files
pplus-library/mojo/probes/float-pow-huge.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

8 lines
285 B
Mojo

# probe: what does a Float64 raised to a very large whole exponent do? (1.0000001 ** 1e7 is fine; ** 1e10 stops the program, and so does 0.5 ** 4503599627370497.0)
def main():
var b = 1.0000001
var small = 1.0e7
print(b ** small)
var huge = 1.0e10
print(b ** huge)