Skip to content
  • grischka's avatar
    Revert "partial revert of the commit 4ad186c5" · 3b84e61e
    grischka authored
    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 664c19ad.
    3b84e61e