[Hugs] #68: Subtraction Error
Hugs <[email protected]> Fri, 11 May 2007 13:58:43 -0000
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <061.08c662062202448627b97ae2aadfa192@localhost> |
#68: Subtraction Error
-----------------------------------+----------------------------------------
Reporter: neumarcx | Owner: nobody
Type: defect | Status: new
Priority: major | Milestone:
Component: hugs | Version: 200609
Keywords: arithmetic operations |
-----------------------------------+----------------------------------------
Why is the difference between minuend and subtrahend wrong, if you use any
5 digit exponent for floating point numbers ?
e.g.
Version: Sep 2006
Haskell 98 mode: Restart with command line option -98 to enable extensions
Type :? for help
Hugs> 12345 - 12345.1
-0.100000000000364
--
Ticket URL: <http://hackage.haskell.org/trac/hugs/ticket/68>
Hugs <http://www.haskell.org/hugs/>
Hugs 98, an interpreter for Haskell
_______________________________________________
Hugs-Bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hugs-bugs