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

5 lines
142 B
Mojo

# probe: how are inf, -inf and nan printed after a run-time division by zero?
def main():
var z = 0.0
print(1.0 / z, -1.0 / z, z / z)