Skip to content

Commit

Permalink
Even simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
lennart-augustsson-epicgames committed Feb 25, 2024
1 parent 2beef75 commit 4243ad0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/FArith.hs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ main = do
putStrLn $ show [ x / y | x <- list1, y <- [1.0::Double, -16.0::Double, 0.0625::Double]]
putStrLn $ show $ readDouble "1.625"
putStrLn $ show $ 1.0 + readDouble "2.5"
putStrLn $ show $ map readDouble ["1.5e4", "1.25e-5"]
putStrLn $ show $ map readDouble ["1.5e4", "125.0e-4"]
2 changes: 1 addition & 1 deletion tests/FArith.ref
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
[-100.25,6.265625,-1604.0,-53.25,3.328125,-852.0,0.0,-0.0,0.0,1.0,-0.0625,16.0,1.125,-0.0703125,18.0,10000.0,-625.0,160000.0]
1.625
3.5
[15000.0,1.25e-05]
[15000.0,0.0125]

0 comments on commit 4243ad0

Please sign in to comment.