#2271: floor, ceiling, round :: Double -> Int are awesomely slow ------------------------------------------+--------------------------------- Reporter: dons | Owner: daniel.is.fischer Type: bug | Status: patch Priority: low | Milestone: 7.0.1 Component: libraries/base | Version: 7.1 Keywords: performance, math, double | Testcase: Blockedby: | Difficulty: Unknown Os: Unknown/Multiple | Blocking: Architecture: Unknown/Multiple | Failure: None/Unknown ------------------------------------------+---------------------------------
Comment(by daniel.is.fischer): More than a bit, unfortunately. The test and branch makes the properFractionXXXInt methods slower by a factor of about 1.7. Is it actually a problem having a negative zero as part of the result? -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2271#comment:30> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs