#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.terep...@… (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
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs