Help!!!!

Dean Inada dmi at peregrine.peregrine.com
Sat Sep 22 08:18:50 AEST 1990


In article <26f8528c.35c1 at uop.uop.edu> acs17111 at uop.edu (hamid misnan) writes:
>	Can someone help me in how can I swap bit 2 and 5, I had tried

/* Ask a silly question... :-) */
#define swap25(x)	((((x)*01000001001)&04000040733)%07777)
/* Note: this assumes x fits in 9 bits */



More information about the Comp.lang.c mailing list