#4867: Incorrect result from trig functions
---------------------------------+------------------------------------------
    Reporter:  gwright           |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Component:  Compiler                   
     Version:  7.0.1             |    Keywords:                             
    Testcase:                    |   Blockedby:                             
          Os:  Unknown/Multiple  |    Blocking:                             
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by gwright):

 This seems to be a ghci problem.  If I compile
 {{{
 --
 -- test the tanh function:
 --

 module Main where

 main = do
         print (tanh (-1.0))

 }}}
 I get
 {{{
 plumbbob-franklin> ./foo
 -0.7615941559557649
 }}}
 which is the right answer.

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