blob: 12e04e3095461db9be096256e3dc504794a85bdb [file] [log] [blame]
f (x)
unsigned x;
{
return (unsigned) (((unsigned long long) x * 0xAAAAAAAB) >> 32) >> 1;
}
main ()
{
unsigned i;
for (i = 0; i < 10000; i++)
if (f (i) != i / 3)
abort ();
exit (0);
}