Arduino-PID-Library icon indicating copy to clipboard operation
Arduino-PID-Library copied to clipboard

please use float instead of double in the API

Open tofrnr opened this issue 8 years ago • 3 comments

as you stated already by yourself, real 64bit double is overprecise and overtaxing for PID regulation, and actually on AVR your are using 32bit float instead because double is not existing by 64bit. But on ARM cores there is a double data type of 64bit which has to be changed then to float, akward enough. So why not stay with float for all platforms and cores from the start?

tofrnr avatar Sep 07 '17 07:09 tofrnr

@tofrnr is the king of duplicate issues!

Duplicate of https://github.com/br3ttb/Arduino-PID-Library/issues/39

per1234 avatar Oct 22 '17 08:10 per1234

@tofrnr is the king of duplicate issues!

per1234, stick this to you where the sun won't shine :P

ps, (nonetheless, this issue is still valid and still unresolved)

tofrnr avatar Oct 22 '17 18:10 tofrnr

What is the advantage of using double?

aguaviva avatar May 17 '24 22:05 aguaviva