[fpc-pascal] Optimisation : X+X or 2*X or X*2 ?

Sven Barth pascaldragon at googlemail.com
Sun Jan 19 21:31:50 CET 2014


On 19.01.2014 21:07, Philippe wrote:
> forgot
>
> X shl 1
>
> normaly the fastest ...

But only for ints, not floating point values.

Regards,
Sven




More information about the fpc-pascal mailing list