Ticket #2059 (closed bug: fixed)
Erroneous results in trigonometric functions for > double-precision values
| Reported by: | daniel.is.fischer | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.8.3 |
| Component: | Compiler | Version: | 6.8.1 |
| Keywords: | Cc: | ||
| Operating System: | Linux | Architecture: | x86 |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | num009 | Blocked By: | |
| Blocking: | Related Tickets: |
Description (last modified by igloo) (diff)
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
Change History
Note: See
TracTickets for help on using
tickets.
