[GHC] #12611: expression calculation error
GHC
ghc-devs at haskell.org
Fri Sep 23 09:56:39 UTC 2016
#12611: expression calculation error
-----------------------------+----------------------------------------
Reporter: Tom | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.1
Resolution: | Keywords:
Operating System: Windows | Architecture: Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-----------------------------+----------------------------------------
Description changed by Tom:
@@ -1,1 +1,1 @@
- Prelude> 20^65-exp(65*log(20))
+ Prelude> 20^{65}-exp(65*log(20))
New description:
Prelude> 20^{65}-exp(65*log(20))
6.211571712111507e70
Obviously, correct result is 0.
--
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12611#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list