[fpc-pascal] math round vs banker's round

Sven Barth pascaldragon at googlemail.com
Wed Aug 14 10:57:24 CEST 2013


Am 14.08.2013 10:42, schrieb Vincent Snijders:
>
>
> 2013/8/14 Sven Barth <pascaldragon at googlemail.com 
> <mailto:pascaldragon at googlemail.com>>
>
>     I wanted to write "x.5" instead of "0.5" :)
>
> For any digit x, it still can be represented exactly in binary 
> representation ...
*sigh* stupid floating point numbers...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130814/434c6c33/attachment.html>


More information about the fpc-pascal mailing list