mrw wrote: > The point being, I think, that, at least in C, checking that a signed > integer is negative is probably more readable, and possibly more > efficient, than checking that an unsigned integer is >= half MAX UINT + > 1, or whatever. > That's actually one of the most efficient operations in computing:
Code: -------------------- if (value & 0x80000000) { ... } -------------------- ------------------------------------------------------------------------ gordonb3's Profile: http://forums.slimdevices.com/member.php?userid=71050 View this thread: http://forums.slimdevices.com/showthread.php?t=111650 _______________________________________________ Radio mailing list Radio@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/radio