On 18 Nov 2011, at 12:20, Graeme Geldenhuys wrote:

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.

It says that the floating point *constant* (in Seth's example: 24.0) is converted to the lowest precision that does not cause data loss. It does not say that the resulting calculation will have the same precision as before. In fact, the "effect" part says exactly the opposite.


Jonas
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to