brainwagon / angst

An Arduino/Gameduino satellite tracking and display application
http://brainwagon.org/the-arduino-n-gameduino-satellite-tracker/
13 stars 7 forks source link

Double precision const with single precision literal? #5

Open dl9sec opened 5 years ago

dl9sec commented 5 years ago

I wondered what the intention is at the constants in P13.h to declare a constant as "double" and then use the "f" literal for singleprecision at the value? Is it to save storage space and not have the need to cast them to double when calculating/working with them?