[Home]Radix sort/Talk

HomePage | Radix sort | Recent Changes | Preferences

Showing revision 3
THANK YOU FOR WRITING THIS WHOEVER DID!!!
Does the sample implementation given depend on the endianness used by the computer? I'm not quite sure what exactly the >> operator does. --AxelBoldt

The value of x >> y is floor(x / 2y), provided x and y are non-negative, and y is not too big. So it doesn't depend on endianness in this case. But if x is negative, then the value is undefined, so this is a problem. Another problem with the code in the article is that it assumes that CHAR_BIT is 8. --Zundark, 2001 Dec 11


HomePage | Radix sort | Recent Changes | Preferences
This page is read-only | View other revisions | View current revision
Edited December 12, 2001 2:18 am by Zundark (diff)
Search: