lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Numerics [Was: Converting numbers in mortality tables to and from


From: Greg Chicares
Subject: [lmi] Numerics [Was: Converting numbers in mortality tables to and from text]
Date: Thu, 24 Mar 2016 21:20:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0

On 2016-03-18 00:56, Vadim Zeitlin wrote:
[...]
> [*] See 
> https://randomascii.wordpress.com/2013/02/07/float-precision-revisited-nine-digit-float-portability/

And now the expression
  0.07 * (1.0 + 1.0 * epsilon)
doesn't seem to equal
  0.07 × (1 + ε)
with gcc-4.9.1 ; see:
  http://lists.nongnu.org/archive/html/lmi-commits/2016-03/msg00008.html
for a unit test that always worked with gcc-3.4.5, but failed with gcc-4.9.1
until I substituted a literal for that expression. I doubt gcc is wrong.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]