??? 09/10/07 16:21 Read: times |
#144325 - some inspiration Responding to: ???'s previous message |
http://en.wikipedia.org/wiki/Fixe...arithmetic
and links therein for example, http://en.wikibooks.org/wiki/Embedded_Systems/Embedded_System_Basics said:
A common technique used to avoid the need for floating point numbers is to change the magnitude of data stored in your variables so you can utilize fixed point mathematics. For example, if you are adding inches and only need to be accurate to the hundreth of an inch, you could store the data as hundreths rather than inches. This allows you to use normal fixed point arithmetic. This technique works so long as you know the magnitude of data you are adding ahead of time, and know the accuracy to which you need to store your data. JW |
Topic | Author | Date |
FP FAQ edits needed | 01/01/70 00:00 | |
Choosing an appropriate order of magnitude | 01/01/70 00:00 | |
excuse me? | 01/01/70 00:00 | |
thx, I GOOFED | 01/01/70 00:00 | |
next version tannks Jan & Andy | 01/01/70 00:00 | |
scaling | 01/01/70 00:00 | |
Certainly not! | 01/01/70 00:00 | |
some inspiration | 01/01/70 00:00 | |
processor <-> controller, where is the difference? | 01/01/70 00:00 | |
the subtle differences are... | 01/01/70 00:00 | |
terminology taken too strictly | 01/01/70 00:00 | |
controller/processor removed, FAQ inserted. | 01/01/70 00:00 | |
Well, there's the "standard" definition ... | 01/01/70 00:00 | |
Of course, but makes this the one being a ... | 01/01/70 00:00 | |
let's put it in this way | 01/01/70 00:00 | |
quoting myself | 01/01/70 00:00 |