#2059: Erroneous results in trigonometric functions
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |       Owner:          
        Type:  bug                |      Status:  new     
    Priority:  normal             |   Component:  Compiler
     Version:  6.8.1              |    Severity:  normal  
    Keywords:                     |    Testcase:          
Architecture:  x86                |          Os:  Linux   
----------------------------------+-----------------------------------------
 For large inputs, sin, cos and tan return the input value:
 {{{GHCi, version 6.8.1: http://www.haskell.org/ghc/  :? for help
 Loading package base ... linking ... done.
 Prelude> sin 1e20
 1.0e20
 Prelude> cos 1e20
 1.0e20
 Prelude> cos 1e19
 1.0e19
 Prelude> cos 1e18
 0.11965025504785125
 Prelude> tan 1e19
 1.0e19}}}

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