diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-10 02:20:04 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-10 11:58:15 +0200 |
commit | 8375e9a51b29a54e86fca3e923d8f1fb01910666 (patch) | |
tree | 49f43471d8f11b4edf10e9d38d9b971010c6c6a2 /scripts/Makefile.am | |
parent | 8311f14dea7d5a68e67eae530dfa9a401e958372 (diff) | |
download | calcurse-8375e9a51b29a54e86fca3e923d8f1fb01910666.tar.gz calcurse-8375e9a51b29a54e86fca3e923d8f1fb01910666.zip |
Use integers rather than floats everywhere
We don't need floating point precision if results are casted back to
integer. Instead, rearrange operations and do the integer division after
the multiplication.
Version numbers are terminating decimals anyway and can be stored using
two integers without losing any information.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'scripts/Makefile.am')
0 files changed, 0 insertions, 0 deletions