#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     
------------------------------------------+---------------------------------
Changes (by daniel.is.fischer):

  * status:  new => patch


Comment:

 Works now :)

 Please test on 64 bits to make sure I haven't bungled the CPP stuff.

 I also have a lot of rewrite rules for !IntN and !WordN, but I'm not sure
 where to put them.
 Probably GHC.Int and GHC.Word, but we'd have to import GHC.Float and
 perhaps GHC.Float.RealFracMethods then.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2271#comment:16>
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

Reply via email to