Pieter Hulshoff wrote:
Hello all,

What in general creates faster code:
y = 0.500*a;
or
y = (512*a) >> 10;
?

Well the real question is "On what hardware" :) On x86 it's probably the latter, but that may not be the case forever.

-kt


-- Kingsley Turner, (mailto: [EMAIL PROTECTED]) http://MadDogsBreakfast.com - Travel Tales: The good, bad, and down-right ugly


_______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to