Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libm/noieee_src Add roundl()



details:   https://anonhg.NetBSD.org/src/rev/ec53bddc9f7d
branches:  trunk
changeset: 327758:ec53bddc9f7d
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Mar 16 10:02:27 2014 +0000

description:
Add roundl()

diffstat:

 lib/libm/noieee_src/n_round.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8120ef4162fa -r ec53bddc9f7d lib/libm/noieee_src/n_round.c
--- a/lib/libm/noieee_src/n_round.c     Sun Mar 16 09:51:39 2014 +0000
+++ b/lib/libm/noieee_src/n_round.c     Sun Mar 16 10:02:27 2014 +0000
@@ -26,7 +26,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: n_round.c,v 1.1 2006/01/17 13:16:08 is Exp $");
+__RCSID("$NetBSD: n_round.c,v 1.2 2014/03/16 10:02:27 martin Exp $");
 #if 0
 __FBSDID("$FreeBSD: src/lib/msun/src/s_round.c,v 1.1 2004/06/07 08:05:36 das Exp $");
 #endif
@@ -34,6 +34,10 @@
 
 #include <math.h>
 
+#ifdef __weak_alias
+__weak_alias(roundl, round);
+#endif
+
 double
 round(double x)
 {



Home | Main Index | Thread Index | Old Index