Let's Make Robots!

New Video

I've posted a new video on the http://ralphsrobots.com site.

This one is about using fixed point math in computer programs in general.

Fixed point runs faster and takes less program memory space. This is because when you use floating point math, sophisticated procudures are automatically linked into your program.

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

This is an important issue and may be unknown to a lot of makers that have no knowledge of missing floating-point-unit. So using a float in the Arduino (Uno) might slow things out. Mixing integers and floats might also lead to strange unexpected numbers.

So thank you for posting this. Integer math rocks!