mirror of https://github.com/NetBSD/src.git
libm: If long double is double, nexttowardl is nextafter.
long double nexttowardl(long double, long double); double nextafter(double, double);pull/37/head
parent
633172aec9
commit
47b5b183dd
|
@ -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.16 2017/08/16 11:22:52 he Exp $");
|
__RCSID("$NetBSD: s_nextafter.c,v 1.17 2024/05/05 22:10:06 riastradh Exp $");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* IEEE functions
|
/* IEEE functions
|
||||||
|
@ -28,6 +28,7 @@ __RCSID("$NetBSD: s_nextafter.c,v 1.16 2017/08/16 11:22:52 he Exp $");
|
||||||
#ifndef __HAVE_LONG_DOUBLE
|
#ifndef __HAVE_LONG_DOUBLE
|
||||||
__strong_alias(nextafterl, nextafter)
|
__strong_alias(nextafterl, nextafter)
|
||||||
__strong_alias(nexttoward, nextafter)
|
__strong_alias(nexttoward, nextafter)
|
||||||
|
__strong_alias(nexttowardl, nextafter)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
double
|
double
|
||||||
|
|
Loading…
Reference in New Issue