Pages: 1 [2]   Go Down
Author Topic: Maths precision for Arduino?  (Read 794 times)
0 Members and 1 Guest are viewing this topic.
Rapa Nui
Offline Offline
Edison Member
*
Karma: 60
Posts: 2086
Pukao hats cleaning services
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I am looking at doing some geodetic calculations (Haversine formula) on GPS readings in my Arduino.
Forget 32bit floating point.. For any such calculation is 64bit floating point the choice at minimum, or decimal arbitrary precision formats (slow but precise). Any other option is simply wasting your time.. The precision of 32bit fp used in arduino is maybe 6-7 decimal places for +-*/, but worse with transcendental functions..
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This $19 programmable GPS with FPU might also be an alternative consideration:  http://bit.ly/1dBpits
Logged

USA
Offline Offline
Jr. Member
**
Karma: 4
Posts: 92
If you can't fix it with a hammer, it must be an electrical problem.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

https://sites.google.com/site/wayneholder/self-driving-rc-car/getting-the-most-from-gps
Logged


Pages: 1 [2]   Go Up
Jump to: