diff options
author | bryan newbold <bnewbold@robocracy.org> | 2014-06-30 12:53:54 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-03-01 21:42:26 -0800 |
commit | 5e6e9187cecb150225312ffbc579921e7b4e8f15 (patch) | |
tree | cfe70d87c7aa297bcdfc36b34d46e1a523a3f4e9 /wirish/HardwareTimer.cpp | |
parent | 90a83152875fbdb8b7e4d4bf79164b4bcc88421e (diff) | |
download | librambutan-5e6e9187cecb150225312ffbc579921e7b4e8f15.tar.gz librambutan-5e6e9187cecb150225312ffbc579921e7b4e8f15.zip |
wirish/Print: explicit double-width constants
These are to prevent implicit constant conversions from floats to
doubles and squelch -Wdouble-promotion warnings.
Normally gcc will start by using doubles to represent floating point
constants. On 32-bit MCUs with a floating point unit, it is more likely
that floats are desired, unless explicitly annotated otherwise.
Diffstat (limited to 'wirish/HardwareTimer.cpp')
0 files changed, 0 insertions, 0 deletions