partial revert of the commit 4ad186c5ef61
commit664c19ad5ef16f3463087a33ecfe5d5ac24f81ec
authorseyko <seyko2@gmail.com>
Wed, 4 Mar 2015 13:25:51 +0000 (4 16:25 +0300)
committerseyko <seyko2@gmail.com>
Wed, 4 Mar 2015 13:25:51 +0000 (4 16:25 +0300)
treeb80af984089291b8f4dd67b9643af8f7e74e14a5
parentbfb7b0d9590d82dfb4f3b142d7d30960567fec43
partial revert of the commit 4ad186c5ef61
    A test program:

    /* result of the new version inroduced in 4ad186c5ef61: t2a = 44100312 */
    #include<stdio.h>
    int main() {
int t1 = 176401255;
float f = 0.25f;
int t2a = (int)(t1 * f); // must be 44100313
int t2b = (int)(t1 * (float)0.25f);
printf("t2a=%d t2b=%d \n",t2a,t2b);
return 0;
    }
i386-gen.c
lib/libtcc1.c
tcctok.h