#4335: fromRational broken for Ratio a
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |        Owner:  simonmar                   
        Type:  bug                |       Status:  merge                      
    Priority:  normal             |    Milestone:  7.2.1                      
   Component:  libraries/base     |      Version:  6.12.3                     
    Keywords:                     |     Testcase:                             
   Blockedby:                     |   Difficulty:                             
          Os:  Unknown/Multiple   |     Blocking:                             
Architecture:  Unknown/Multiple   |      Failure:  Incorrect result at runtime
----------------------------------+-----------------------------------------
Changes (by simonmar):

  * status:  patch => merge


Comment:

 Applied, thanks!

 {{{
 Mon Oct 18 18:01:09 PDT 2010  Daniel Fischer <daniel.is.fisc...@web.de>
   * FIX #4335
   fromRational :: Rational -> Ratio a produced invalid results for fixed-
 width
   types a. Reduce the fraction to avoid that.
 }}}

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