#4381: scaleFloat does not handle overflow correctly.
---------------------------------+------------------------------------------
    Reporter:  draconx           |        Owner:  simonmar                   
        Type:  bug               |       Status:  merge                      
    Priority:  normal            |    Milestone:  7.0.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
  * milestone:  => 7.0.1


Comment:

 Applied, thanks:

 {{{
 Wed Oct 13 11:18:49 BST 2010  Simon Marlow <[email protected]>
   * FIX #4381
   Fix scaleFloat by clamping the scaling parameter so that
   exponent + scale doesn't overflow.

   Patch by: Daniel Fischer <[email protected]>
 }}}

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