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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/29/03 19:59
Read: times


 
#46954 - RE: Floating Point in 8051
Responding to: ???'s previous message
"I think I'll stick with the floating point!"

This is just a precision error - You will still get precision errors in floating point!

eg:
http://www.keil.com/discuss/docs/thread2713.htm
http://www.keil.com/discuss/docs/thread310.htm

It was a bad example, but the principle is sound - you just multiply by a suitable factor so that your desired precision is achieved with integer-only maths.
aka "Fixed-Point"


List of 22 messages in thread
TopicAuthorDate
Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
      RE: Floating Point in 8051            01/01/70 00:00      
         RE: Floating Point in 8051            01/01/70 00:00      
            RE: Floating Point in 8051            01/01/70 00:00      
               RE: Floating Point in 8051            01/01/70 00:00      
                  RE: Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
      RE: Floating Point in 8051            01/01/70 00:00      
         RE: Floating Point in 8051            01/01/70 00:00      
            RE: Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
      RE: Floating Point in 8051            01/01/70 00:00      
   RE: Floating Point in 8051            01/01/70 00:00      
      RE: Floating Point in 8051            01/01/70 00:00      
         RE: Floating Point in 8051            01/01/70 00:00      
         RE: Floating Point in 8051            01/01/70 00:00      
            RE: Floating Point in 8051            01/01/70 00:00      
               RE: Floating Point in 8051            01/01/70 00:00      
                  RE: Floating Point in 8051            01/01/70 00:00      

Back to Subject List