[Hugs] #68: Subtraction Error

Hugs trac at galois.com
Fri May 11 11:44:54 EDT 2007


#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


More information about the Hugs-Bugs mailing list