On 28/04/16 15:33, Graeme Geldenhuys wrote:
Interesting thought. But a Integer div Integer cannot give a result
larger than a Integer type, so why is the compiler upscaling the result
it to a Int64?? If that is really what the compiler is doing, then
something is going way wrong, or I simply don't understand the logic.

Search for "As a pascal compiler" on http://www.freepascal.org/docs-html/ref/refsu5.html

You are presumably compiling for a 64 bit target platform.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to