[fpc-devel] FormatFloat bug
jonas.maebe at elis.ugent.be
Wed May 30 12:01:20 CEST 2007
On 30 mei 2007, at 11:56, Michael Van Canneyt wrote:
> On Wed, 30 May 2007, Jonas Maebe wrote:
>> The writing of floating point values does not use the rounding
>> provided by the FPU, it is implemented in a completely cpu-
>> independent way.
> Doesn't it use rounding ?
It does, but does not use the round() routine for that. Sometimes it
even rounds at the string level (since with FPU numbers, 0.x *10 can
be >= 10.0).
More information about the fpc-devel