#1434: Missing RULEs for truncate
------------------------------------------+---------------------------------
    Reporter:  g...@…                      |        Owner:  simonmar            
   
        Type:  task                       |       Status:  merge                
  
    Priority:  high                       |    Milestone:  7.0.1                
  
   Component:  libraries/base             |      Version:  6.4.1                
  
    Keywords:  rules                      |     Testcase:                       
  
   Blockedby:                             |   Difficulty:  Unknown              
  
          Os:  Unknown/Multiple           |     Blocking:                       
  
Architecture:  Unknown/Multiple           |      Failure:  Runtime performance 
bug
------------------------------------------+---------------------------------
Changes (by simonmar):

  * status:  patch => merge


Comment:

 Applied, thanks!

 {{{
 Wed Oct 20 10:10:14 BST 2010  Daniel Fischer <[email protected]>
   * FIX #1434
   Rewrite rules for RealFrac methods with sized Int and Word targets.
   For all types whose range is contained in Int's range, there are now
   rewrite rules for properFraction, truncate, floor, ceiling and round
   from Double and Float, going through the specialised methods for Int.

   Unfortunately, we can't have a rewrite rule for Word.
 }}}

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

Reply via email to