shithub: mc

Download patch

ref: ee1215bf65810716215fd068b52c07c43cd79d42
parent: a9407d8bbc6edce694be614f4bfed8bd037c6862
author: Ori Bernstein <[email protected]>
date: Tue Jun 18 10:33:08 EDT 2013

Enable floating point test.

    The next thing I work on fixing.

--- a/test/float.myr
+++ b/test/float.myr
@@ -1,3 +1,5 @@
+use std
+
 /* basic sanity check on floating point operations. should return 84. */
 const main = {
 	-> (42.0 + 42.0) castto(int)
--- a/test/tests
+++ b/test/tests
@@ -52,7 +52,7 @@
 B condifrel	E	7
 B overlappingif	E	2
 B fib		E	21
-# B float		E	1       ## BUGGERED
+B float		E	1       ## BUGGERED
 B log-and	E	0
 B log-or	E	1
 B str		E	102