git: OpenLIBM: Try to fix nextafterl
marino at crater.dragonflybsd.org
Wed Jul 15 16:15:54 PDT 2015
Author: John Marino <draco at marino.st>
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