Also pull up rev 1.15 and 1.16 for ticket #217:
On systems without __HAVE_LONG_DOUBLE, alias nexttoward() to nextafter().
This commit is contained in:
parent
72a521ea37
commit
9b9ff1184d
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
#if defined(LIBM_SCCS) && !defined(lint)
|
#if defined(LIBM_SCCS) && !defined(lint)
|
||||||
__RCSID("$NetBSD: s_nextafter.c,v 1.14 2014/03/18 18:20:37 riastradh Exp $");
|
__RCSID("$NetBSD: s_nextafter.c,v 1.14.18.1 2017/08/29 15:07:31 martin Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* IEEE functions
|
/* IEEE functions
|
||||||
|
@ -27,6 +27,7 @@ __RCSID("$NetBSD: s_nextafter.c,v 1.14 2014/03/18 18:20:37 riastradh Exp $");
|
||||||
|
|
||||||
#ifndef __HAVE_LONG_DOUBLE
|
#ifndef __HAVE_LONG_DOUBLE
|
||||||
__strong_alias(nextafterl, nextafter)
|
__strong_alias(nextafterl, nextafter)
|
||||||
|
__strong_alias(nexttoward, nextafter)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
double
|
double
|
||||||
|
|
Loading…
Reference in New Issue