[fpc-devel] bitwise shift oddity a << b

Jonas Maebe jonas.maebe at elis.ugent.be
Tue May 19 16:42:27 CEST 2015


Adriaan van Os wrote on Tue, 19 May 2015:

> But, of course, I understand that CPUs implement it wrong and that  
> the compilers writers want to be compatible with the CPU doing it  
> wrong. That is probably the most practical solution. But that  
> doesn't make it less ludicrous.

There's non-ludicrous speed (not the Space Balls meaning),  
non-ludicrous power consumption and non-ludicrous logic: pick any two.


Jonas



More information about the fpc-devel mailing list