• Tom Lane's avatar
    Suppress -0 in the C field of lines computed by line_construct_pts(). · 43fe90f6
    Tom Lane authored
    It's not entirely clear why some PPC machines are generating -0 here, since
    the underlying computation should be exactly 0 - 0.  Perhaps there's some
    wider-than-nominal-precision calculations happening?  Anyway, the best way
    to avoid platform-dependent results seems to be to explicitly reset -0 to
    regular zero.
    43fe90f6
geo_ops.c 120 KB