Re[2]: [fpc-devel] format function

2006-10-12 Thread Daniël Mantione
Op Thu, 12 Oct 2006, schreef ???: > "Format" primarily produces strings for users, not for programmers. Why do you think that scientific notation is used by default? Daniël___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://

Re[2]: [fpc-devel] format function

2006-10-12 Thread Пётр Косаревский
> http://en.wikipedia.org/wiki/Negative_zero > Jonas Nice link: "In science, −0 may be used to denote a quantity which is less than zero, but which is too small in magnitude to be rounded down to −1." "Format" primarily produces strings for users, not for programmers. ___

Re: Re[2]: [fpc-devel] format function

2006-10-12 Thread Christian Ulrich
velopers' list" Sent: Thursday, October 12, 2006 3:46 PM Subject: Re: Re[2]: [fpc-devel] format function On 12 okt 2006, at 15:41, Пётр Косаревский wrote: In the othe case, if the user is supposed to understand, that he looks at some representation of binary representation of a re

Re: Re[2]: [fpc-devel] format function

2006-10-12 Thread Jonas Maebe
On 12 okt 2006, at 15:41, Пётр Косаревский wrote: In the othe case, if the user is supposed to understand, that he looks at some representation of binary representation of a real number, "-0.000" obviously means "little negative number". No, it means the value 0, but with a negative sign.

Re[2]: [fpc-devel] format function

2006-10-12 Thread Пётр Косаревский
> >> Not only that, but -0.000 is different from 0.000 (at least for the fpu) > >> Jonas > > In a mathematical way of view I think that -0.000 has no meaning. > Well, despite the fact that -0.000 is probably indeed wrong in this case, a > mathematical view is often wrong when using an fpu :) > > If