From: panne Date: Mon, 3 Jul 2000 20:31:07 +0000 (+0000) Subject: [project @ 2000-07-03 20:31:07 by panne] X-Git-Tag: Approximately_9120_patches~4089 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=cf9a6ffcc7b8bae66831fd451a43e7aee4b839bd;p=ghc-hetmet.git [project @ 2000-07-03 20:31:07 by panne] Reverted my last change to this file: Constant folding should really yield *excatly* the same result as runtime computation. --- diff --git a/ghc/tests/codeGen/should_run/cg018.hs b/ghc/tests/codeGen/should_run/cg018.hs index 02220c8..da7b052 100644 --- a/ghc/tests/codeGen/should_run/cg018.hs +++ b/ghc/tests/codeGen/should_run/cg018.hs @@ -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#