diff options
author | Benoît Blanchon <bblanchon@users.noreply.github.com> | 2016-03-08 22:13:10 +0100 |
---|---|---|
committer | Benoît Blanchon <bblanchon@users.noreply.github.com> | 2016-03-08 22:13:10 +0100 |
commit | 437eabeaad8fae7547db95c4ca3a0763ad18d38a (patch) | |
tree | e12135011b8c6a5d5dc963c1fff8805d1faf64ae /cores/arduino/WMath.cpp | |
parent | aa710ab682fd73ed8ea166ebbf24d103673c5ca6 (diff) |
Speed and size improvement in Print::printFloat()
Avoid using the overload of print() for signed integer since a negative value is not allowed here.
This results in a smaller (unless print(int) is used somewhere else in the program) and faster code because the overload for unsigned integer is simpler.
Diffstat (limited to 'cores/arduino/WMath.cpp')
0 files changed, 0 insertions, 0 deletions