ref: fd00fa796bd36d2d369ff2ac67ac2a35d981ea6c
parent: 4be03d030c00960d2b27f319057d1a07603c0260
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Apr 28 18:35:08 EDT 2019
Add test for previous issue.
--- /dev/null
+++ b/test/fltabs.myr
@@ -1,0 +1,5 @@
+use std
+
+const main = {
+ std.put("{}\n", std.abs(-42.0))
+}
--- a/test/tests
+++ b/test/tests
@@ -127,6 +127,7 @@
F matchmixed
F matchoverlap
B bigliteral P 34359738368
+B fltabs P '42.0'
B arraylit-ni E 2
B arraypack P '(1, foo)(2, bar)(3, baz)'
B arraypass P 1