In something I'm working on I've ended up with this rather unwieldy expression in a time-critical section of code:
Code:P%!4 AND &80000000 OR ((P%!4 >> 21) - &1C0 << 24 OR P%!4 << 3 AND &FFFFFF OR !P% >>> 29) - ((!P% << 3) < 0)
I've simplified it as much as I can, but maybe a fresh eye will spot something I haven't. Can anybody see a way of making it run faster? I know I can delete the spaces but I've left them in here for clarity.
Richard.