[project @ 2000-07-03 20:31:07 by panne]
authorpanne <unknown>
Mon, 3 Jul 2000 20:31:07 +0000 (20:31 +0000)
committerpanne <unknown>
Mon, 3 Jul 2000 20:31:07 +0000 (20:31 +0000)
Reverted my last change to this file: Constant folding should really
yield *excatly* the same result as runtime computation.

ghc/tests/codeGen/should_run/cg018.hs

index 02220c8..da7b052 100644 (file)
@@ -3,9 +3,7 @@
 import PrelGHC( Float# )
 import PrelFloat
 
--- This test is a little bit numerically unstable, so compare only a small prefix.
--- Otherwise you get slightly different results with and without optimization.
-main = putStrLn (take 6 (shows (selectee1 + selectee2) ""))
+main = print (selectee1 + selectee2)
 
 data Tfo = Tfo Float# Float# Float# Float# Float# Float# Float# Float# Float# Float# Float# Float#