[Lazarus] New Graphics/Animation Library - Language Feature Requests

Vincent Snijders vincent.snijders at gmail.com
Fri Oct 12 08:21:21 CEST 2012


> For clarity, I believe the correct intended use of explicit
> conversions is when a loss of data may occur while converting a type
> (rounding a float for example), and implicit conversions are correct
> when no loss of data can occur (assigning a 32bit integer to a 32bit
> float).

Even then loss of data can occur, because a 32 bit float can not
represent 31 binary digits.

Vincent




More information about the Lazarus mailing list