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

6 lines
174 B
Mojo

# probe: does a Float64 product past the largest double give inf at run time, and inf - inf nan?
def main():
var big = 1.0e308
var x = big * 10.0
print(x, x - x)