[GHC] #2271: floor, ceiling,
round :: Double -> Int are awesomely slow
GHC
cvs-ghc at haskell.org
Sun Oct 17 12:08:24 EDT 2010
#2271: floor, ceiling, round :: Double -> Int are awesomely slow
------------------------------------------+---------------------------------
Reporter: dons | Owner: daniel.is.fischer
Type: bug | Status: infoneeded
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
------------------------------------------+---------------------------------
Changes (by michalt):
* cc: michal.terepeta@… (added)
Comment:
The patch has a simple mistake in type signatures that makes GHC fail to
build
on x86_64. It's enough to change
{{{
uncheckedIShiftRA64# :: Int# -> Int#
uncheckedIShiftL64# :: Int# -> Int#
}}}
to
{{{
uncheckedIShiftRA64# :: Int# -> Int# -> Int#
uncheckedIShiftL64# :: Int# -> Int# -> Int#
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2271#comment:20>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list