[fpc-devel] FormatFloat bug
Jonas Maebe
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
>> functionality
>> 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).
Jonas
More information about the fpc-devel
mailing list