Re: ver 1.9.4 use more decimal digits
- From: bill lam <cbill lam gmail com>
- To: Morten Welinder <mortenw gnome org>
- Cc: gnumeric-list <gnumeric-list gnome org>
- Subject: Re: ver 1.9.4 use more decimal digits
- Date: Mon, 2 Mar 2009 07:57:00 +0800
On Sun, 01 Mar 2009, Morten Welinder wrote:
After upgraded to 1.9.4. Diff the gnumeric file with the previous
1.8.3
This is deliberate. We need to store enough decimals to ensure
that the number we had will come back unchanged. The number
This is incorrect. The number pairs have the same bit pattern using
ieee 754 standard so that they are equal. Merely adding more digits
does no increase the accuracy. There is an article by Kahn who is the
driving force behind the IEEE 754 standard, and he got the Turing
Award in 1989 for his work on numerical analysis.
How Java's Floating-Point Hurts Everyone Everywhere
by W. Kahan and J. D. Darcy (March 1998)
http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf
The last page "Accuracy < Precision"
From what I can see in your message, previous versions did not
deliberately find the minimum digit representation of floating point
number within the limit of ieee 754 standard.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩172 祖詠 望薊門
燕臺一去客心驚 簫鼓喧喧漢將營 萬里寒光生積雪 三邊曙色動危旌
沙場烽火侵胡月 海畔雲山擁薊城 少小雖非投筆吏 論功還欲請長纓
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]