Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/02 14:29
Read: times


 
#26266 - RE: Conversion from ASCII to floating point
I've found the math library. It seems to be a bit large though. I hoped to minimize code size as much as possible

Floating point processing is very complicated, and as such tahes a lot of code space. I recommend you try to avoid it. A simple technique is to keep the decimal point in the same place throughout and just insert it in the output.
say you have 123.45 and 234.56
treat as 12345 and 23456 till you display the value, then just pop a dot in before the last 2 digits.

Have fun,

Erik

List of 31 messages in thread
TopicAuthorDate
Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating po            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: floating point code size- Luca            01/01/70 00:00      
RE: floating point code size- Luca            01/01/70 00:00      
RE: floating point code size- Luca            01/01/70 00:00      
RE: floating point - Improper fractions?            01/01/70 00:00      
RE: floating point code size- Luca            01/01/70 00:00      
A new dimension to the problem...            01/01/70 00:00      
RE: A new dimension to the problem...            01/01/70 00:00      
ADD: A new dimension to the problem...            01/01/70 00:00      
RE: ADD: A new dimension to the problem...            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: Conversion from ASCII to floating point            01/01/70 00:00      
RE: floating point - Improper fractions?            01/01/70 00:00      

Back to Subject List