www.piclist.com/techref/index.htm?key=microship+24bit

Zero is a special case. It is encoded as a zero biased exponent (eb=0):

00xxxx (xxxx can have any value)

eb=0

e=-127

As your number gets closer and closer to zero, the exponent is getting

smaller and smaller until it reaches e=-127 (or eb=0), which is zero.

There is another special case, which is ignored in Microchip's

routines (according to AN575) when eb=255, which means infinity.

So, the range for exponent can be either -126..128 (ignoring Inf) or

-126..127 (using Inf). But MPLAB displays the case of eb=255 as zero

(at least in version 5.00).

Nikolai

---- Original Message ----

From: Thomas Robert de Massy <TakeThisOuTtomasdspamBeGoneRemoveMEAXESS.COM>

Sent: Sunday, March 18, 2001 22:34:20

To: EraseMEPICLIST@spam@spamMITVMA.MIT.EDU

Subj: Microship 24bit Floating point format question

{Quote hidden}

--

http://www.piclist.com hint: The list server can filter out subtopics

(like ads or off topics) for you. See http://www.piclist.com/#topics

In reply to: <000701c0afea$d15b3f00$0e43a2d8@allo>

See also: www.piclist.com/techref/index.htm?key=microship+24bit