Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Move scalbnl back to s_scalbln.c to match the a...
details: https://anonhg.NetBSD.org/src/rev/bf464a5917db
branches: trunk
changeset: 786376:bf464a5917db
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Apr 27 17:20:36 2013 +0000
description:
Move scalbnl back to s_scalbln.c to match the assembler implementations.
diffstat:
lib/libm/src/s_scalbln.c | 6 ++----
lib/libm/src/s_scalbnl.c | 12 ++----------
2 files changed, 4 insertions(+), 14 deletions(-)
diffs (64 lines):
diff -r 29cc192158f2 -r bf464a5917db lib/libm/src/s_scalbln.c
--- a/lib/libm/src/s_scalbln.c Sat Apr 27 17:19:47 2013 +0000
+++ b/lib/libm/src/s_scalbln.c Sat Apr 27 17:20:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_scalbln.c,v 1.4 2013/04/27 17:19:47 joerg Exp $ */
+/* $NetBSD: s_scalbln.c,v 1.5 2013/04/27 17:20:36 joerg Exp $ */
/*-
* Copyright (c) 2004 David Schultz <das%FreeBSD.ORG@localhost>
@@ -30,7 +30,7 @@
#if 0
__FBSDID("$FreeBSD: src/lib/msun/src/s_scalbln.c,v 1.2 2005/03/07 04:57:50 das Exp $");
#else
-__RCSID("$NetBSD: s_scalbln.c,v 1.4 2013/04/27 17:19:47 joerg Exp $");
+__RCSID("$NetBSD: s_scalbln.c,v 1.5 2013/04/27 17:20:36 joerg Exp $");
#endif
#include "namespace.h"
@@ -62,7 +62,6 @@
return (scalbnf(x, n));
}
-#ifndef _LP64
__weak_alias(scalblnl, _scalblnl)
long double
@@ -74,4 +73,3 @@
n = INT_MIN;
return (scalbnl(x, n));
}
-#endif
diff -r 29cc192158f2 -r bf464a5917db lib/libm/src/s_scalbnl.c
--- a/lib/libm/src/s_scalbnl.c Sat Apr 27 17:19:47 2013 +0000
+++ b/lib/libm/src/s_scalbnl.c Sat Apr 27 17:20:36 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_scalbnl.c,v 1.4 2013/02/11 02:45:15 christos Exp $ */
+/* $NetBSD: s_scalbnl.c,v 1.5 2013/04/27 17:20:36 joerg Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: s_scalbnl.c,v 1.4 2013/02/11 02:45:15 christos Exp $");
+__RCSID("$NetBSD: s_scalbnl.c,v 1.5 2013/04/27 17:20:36 joerg Exp $");
#include "namespace.h"
@@ -58,14 +58,6 @@
#error Unsupported long double format
#endif
-#ifdef _LP64
-long double
-scalbnl(long double x, int n)
-{
- return scalblnl(x, n);
-}
-#endif
-
long double
scalblnl(long double x, long n)
{
Home |
Main Index |
Thread Index |
Old Index