Initial commit
Test (in pplus-core) / in-core (push) Failing after 28m44s

This commit is contained in:
alexm committed 2026-11-12 22:23:48 -05:00
commit 568474d52f
1591 files changed
+528213

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
# probe: literal-only arithmetic is exact; with a variable it runs in Float64
# status: the expected output is Programming+'s interpreter's prediction; corpus.py verify confirms or refutes it on godbolt
# expect-stdout: 0.3 0.3
# expect-stdout: 0.30000000000000004 0.30000000000000004
# expect-stdout: 2.0 1.0
# expect-stdout: 1.0
def main():
var one = 1.0
print(0.1 + 0.2, 0.1 * 3.0)
var tenth = 0.1
print(tenth + 0.2, tenth * 3.0)
print(2.0 / 3.0 * 3.0, one / 3.0 * 3.0)
print(1e16 + 1.0 - 1e16)