Files
pplus-library/mojo/probes/atof-hex.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
141 B
Mojo

# probe: does atof() read hexadecimal text such as "0x10"? (no: it raises)
def main() raises:
print(atof("2.5"))
print(atof("0x10"))