Bob Barr wrote: > While I'm not familiar with this format, I think that you've started > from a misinterpretion of the fields to get 0 ^ 0 = 1. > > Typically, floating point formats have an implied '1' between the > exponent field and the mantissa field. Doing that gives you an 'extra' > bit for free. > > Notice that the numbers 2, 4, and 8 all have a zero mantissa. (You can > be quite certain that 16, 32, 64, etc do as well.) These numbers all > correspond to a single bit (the implied one) shifted to the proper > position in the integer. > > What is the representation of negative numbers and fractions? > > This link on IEEE single point floats may give you some ideas: > > http://www.markworld.com/showfloat.html Thanks Bob, the web site show all the working (although not quite thw same as CCS does it, I am sure I can work it out from here) Cheers, Brian. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu