Re: [Hugs] #68: Subtraction Error
Hugs <[email protected]> Fri, 11 May 2007 15:44:54 -0000
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <070.a4e66342cee2ad95cd2a177175e6e07b@localhost> |
#68: Subtraction Error
-----------------------+----------------------------------------------------
Reporter: neumarcx | Owner: nobody
Type: defect | Status: closed
Priority: major | Milestone:
Component: hugs | Version: 200609
Resolution: invalid | Keywords: arithmetic operations
-----------------------+----------------------------------------------------
Changes (by ross):
* resolution: => invalid
* status: new => closed
Comment:
This is normal behaviour for floating point types in any language: being
fixed size binary formats, they can represent decimal fractions only
approximately. For operations on exact fractions, Haskell provides
`Rational`.
--
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