> 7654 3210 > MMMM EEEE > > Where: > > M is the 4 bit Mantissa, a value between 0/16 and 15/16 > E is the 4 bit Exponent, a value between 10^-15 and 10^0 If the value is normalised (bit 7 is 1 unless that would overflow the exponent): couldn't you just swap the nibbles and compare? -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist