• Alexey Kopytov's avatar
    Fix for bug #15936: "round" differs on Windows to Unix · cebaf077
    Alexey Kopytov authored
    Both of our own implementations of rint(3) were inconsistent with the
    most common behavior of rint() on those platforms that have it: round
    to nearest, break ties by rounding to nearest even.
    
    Fixed by leaving just one implementation of rint() in our source tree,
    and changing its behavior to match the most common native
    implementations on other platforms.
    cebaf077
func_math.test 8.46 KB