[GHC] #2059: Erroneous results in trigonometric functions for > double-precision values

GHC trac at galois.com
Fri May 16 17:44:14 EDT 2008


#2059: Erroneous results in trigonometric functions for > double-precision values
-------------------------------+--------------------------------------------
 Reporter:  daniel.is.fischer  |          Owner:  igloo  
     Type:  bug                |         Status:  closed 
 Priority:  normal             |      Milestone:  6.8.3  
Component:  Compiler           |        Version:  6.8.1  
 Severity:  normal             |     Resolution:  fixed  
 Keywords:                     |     Difficulty:  Unknown
 Testcase:  num009             |   Architecture:  x86    
       Os:  Linux              |  
-------------------------------+--------------------------------------------
Changes (by igloo):

  * testcase:  => num009
  * status:  new => closed
  * resolution:  => fixed

Comment:

 Fixed in HEAD and 6.8:
 {{{
 Fri May  2 17:08:41 PDT 2008  Ian Lynagh <igloo at earth.li>
   * Fix sin/cos/tan on x86; trac #2059
   If the value is > 2^63 then we need to work out its value mod 2pi,
   and apply the operation to that instead.
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2059#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list