git: OpenLIBM: Try to fix nextafterl

John Marino marino at
Wed Jul 15 16:15:54 PDT 2015

commit cbab2ab2719efc1858b9361e76b52f6359119c8f
Author: John Marino <draco at>
Date:   Thu Jul 16 01:11:04 2015 +0200

    OpenLIBM: Try to fix nextafterl
    My first attempt at fixing this function to deal with the always-true
    <unsigned variable> > 0 condition was a mistake.  The problem was that
    esy and esy were typed as u_int32_t when they should have been "int"
    according to math_private.h.
    This still doesn't fix the rounding error in Fortran so it's possible
    this function is still broken (upstream too).  The FreeBSD version is
    a bit different.

Summary of changes:
 contrib/openbsd_libm/src/ld80/s_nextafterl.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list