[fpc-devel] Unexpected behaviour with intermediate results

J. Gareth Moreton gareth at moreton-family.com
Tue Jun 12 18:48:34 CEST 2018

 As pointed out in the bug report, it's not a bug.  As listed in the
documentation over here:

 "Every integer smaller than the ”native” size is promoted to a signed
version of the ”native” size. Integers equal to the ”native” size
keep their signedness."

 Apologies for not abiding by RTFM - it's hard to find all the little notes
sometimes.  Still, this is useful to know when it comes to future
optimization work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180612/b1c62e92/attachment.html>

More information about the fpc-devel mailing list