[fpc-devel] rounding precision error with integer and floating point division
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Nov 18 12:20:06 CET 2011
On 2011-11-18 13:04, Jonas Maebe wrote:
>
> http://wiki.freepascal.org/User_Changes_2.2.0#Floating_point_constants
The description of the "new behaviour" should change then. The part that
says "...which doesn't cause data loss" is now false, given Seth's
example. He lost precision compared to previous behaviour - so there is
a small data loss, and for some type of applications that could be
significant.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
More information about the fpc-devel
mailing list