Wooops! I was thinking of the signed form and got put "c - b" instead of "b - c". Unsigned form should be: a = (b < c); ==> a = (unsigned)((b - c) >> (WIDTH_OF_INT_IN_BITS - 1)); --Dwight Wilcox Code 412 Naval Ocean Systems Center San Diego, CA 92152-5000