piclist 2001\04\16\143721a >
Thread: Floating point or fixed point routines?
face BY : mike.....@whitewing.co.uk

On Mon, 16 Apr 2001 08:56:07 MDT, you wrote:

>What's the difference between floating point and fixed point?
Floating point can represent a large range of numbers, but with less
precision, all other things being equal (i.e. the number of bytes
>When do you use floating point routines? Only when you ABSOLUTELY have to, especially on a processor like a PIC
with limited RAM and code space - Floating point code is usually
memory and processor-time hungry. Embedded apps rarely have the need
for floating point's range, as real-workd values don't often cover a
wide enough range to need  
>When do you use fixed point
When you want to reprent a fractional value. You have to decide where
to put the point, which will depend on your appliction.
There is actually almost no difference between integers and fixed
point numbers in terms of code - the point is where you think you need
it - the precessor often doesn't know or care.

http://www.piclist.com hint: To leave the PICList

<3memdtc9u57nsao51dhjns9c1ko79gj200@4ax.com> quoted-printable

In reply to: <20010416145607.29889.qmail@nw171.netaddress.usa.net>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Floating point or fixed point routines?

month overview.

new search...