diff options
author | bnewbold <bnewbold@robocracy.org> | 2015-03-03 00:03:14 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2015-03-03 00:15:30 -0800 |
commit | e62b3c0cf623c1bb4e8a1ec2c8953b9037aea433 (patch) | |
tree | 0153b0ad43eb8ceebea4f1ef80d36e98304a5b2f /wirish/boards/maple_mini/include/board/board.h | |
parent | 4f09c7ff0cd1644e6e638e8746d519d021735356 (diff) | |
download | librambutan-e62b3c0cf623c1bb4e8a1ec2c8953b9037aea433.tar.gz librambutan-e62b3c0cf623c1bb4e8a1ec2c8953b9037aea433.zip |
wirish_math: explicit type casts for round()
This is to squash type promotion warnings and ambiguity (float vs.
double).
A roundf() macro is introduced for use with floats, matching the
POSIX/C99 convention.
Diffstat (limited to 'wirish/boards/maple_mini/include/board/board.h')
0 files changed, 0 insertions, 0 deletions