]> git.ipfire.org Git - thirdparty/ccache.git/commit
Convert float config to double, add rounding
authorAnders F Björklund <anders.f.bjorklund@gmail.com>
Sun, 8 Apr 2018 13:28:58 +0000 (15:28 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 23 Apr 2018 19:51:15 +0000 (21:51 +0200)
commit390035abfa4e174ac0b1528435e2d001d39654a8
treece8e8f5d911e4dc833726fe8a660b500b59e3768
parentcd3d88d08055157135c41b9b491c862aa0007849
Convert float config to double, add rounding

We were getting different results when converting "float" to
integers, on 32-bit versus 64-bit platforms. So use "roundf".

Also exposed a typo in another testsuite, where we only cleaned
files as a result of roundoff... Make cleaning explicit again.
src/cleanup.c
test/suites/cleanup.bash