aboutsummaryrefslogtreecommitdiff
path: root/RELICENSING
diff options
context:
space:
mode:
authorgrischka <grischka>2016-10-14 11:23:48 +0200
committergrischka <grischka>2017-02-05 14:30:19 +0100
commit3b84e61eaddb068707a7a3d40a9ebd5e69975965 (patch)
tree9bcb73fff07daaa55fb4bfafee7b44833223f976 /RELICENSING
parent85fca9e924109b3e10c14d2ba9ef1abad17b890c (diff)
downloadtinycc-3b84e61eaddb068707a7a3d40a9ebd5e69975965.tar.gz
tinycc-3b84e61eaddb068707a7a3d40a9ebd5e69975965.tar.bz2
Revert "partial revert of the commit 4ad186c5ef61"
There seems nothing wrong. With int t1 = 176401255; float f = 0.25; int t2 = t1 * f; // 176401255 * 0.25 = 44100313.75 according to the arithmetic conversion rules, the number 176401255 needs to be converted to float, and the compiler can choose either the nearest higher or nearest lower representable number "in an implementation-defined manner". Which may be 176401248 or 176401264. So as result both 44100312 and 44100313 are correct. This reverts commit 664c19ad5ef16f3463087a33ecfe5d5ac24f81ec.
Diffstat (limited to 'RELICENSING')
0 files changed, 0 insertions, 0 deletions