Re: [fpc-pascal] float calculates rubbish

2005-03-06 Thread Marc Santhoff
Am So, den 06.03.2005 schrieb Marco van de Voort um 23:02: > > $ ./testlongfloat > > 1109081216 > > 1109081216.00 > > 554540608 > > 554540608.00 > > > > Am I producing a value overflow here or what's happening? The whole > > thing is running on i386 with fpc 1.9.4. > > glib redefined float as 32-

Re: [fpc-pascal] float calculates rubbish

2005-03-06 Thread Marco van de Voort
> $ ./testlongfloat > 1109081216 > 1109081216.00 > 554540608 > 554540608.00 > > Am I producing a value overflow here or what's happening? The whole > thing is running on i386 with fpc 1.9.4. glib redefined float as 32-bit single, which has much lower precision, which in turn causes the rounding.