[fpc-devel] FormatFloat bug

Graeme Geldenhuys graemeg.lists at gmail.com
Wed May 30 00:37:22 CEST 2007


On 5/29/07, Michael Van Canneyt <michael at freepascal.org> wrote:
> If I remember correctly:
> Bookkeepers rounding as implemented by the Intel processors.
> No own routines are used. It's left up to the processor.


I thought FormatFloat() uses Common Rounding and FormatCurr() uses
Bankers Rounding.  This would make more sense, and I believe Delphi
has this behavior.

Graeme.



More information about the fpc-devel mailing list