[Home]
[Contents]
[Chapter]
[Previous Algorithm]
[Next Algorithm]


Bit Function for Tries


bit( i, key ) // Access the ith-bit of a 15 bits key (left to right) int i; typekey key; {return( (key>>(14-i)) & 1 );}

C source (344.bit.c)



© Addison-Wesley Publishing Co. Inc.