[Tutor] Fraction - differing interpretations for number and string - presentation

Jim Mooney cybervigilante at gmail.com
Fri Apr 17 00:11:59 CEST 2015


 The whole point of the discussion is that this is *not* a presentation
issue. Fraction(1.64) and Fraction("1.64") *are* two different numbers
because one gets constructed from a value that is not quite 1.64.

Wolfgang Maier
--
So the longer numerator and denominator would, indeed, be more accurate if
used in certain calculations rather than being normalized to a float - such
as in a Fortran subroutine or perhaps if exported to a machine with a
longer bit-length? That's mainly what I was interested in - if there is any
usable difference between the two results.

Jim

The Paleo diet causes Albinism


More information about the Tutor mailing list