Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libm/src Add aliases to scalbn* as ldexp*, they are iden...
details: https://anonhg.NetBSD.org/src/rev/bb02dc965799
branches: trunk
changeset: 786383:bb02dc965799
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Apr 27 18:43:25 2013 +0000
description:
Add aliases to scalbn* as ldexp*, they are identical for FLT_RADIX=2.
diffstat:
lib/libm/src/s_scalbn.c | 3 ++-
lib/libm/src/s_scalbnf.c | 3 ++-
lib/libm/src/s_scalbnl.c | 6 +++---
3 files changed, 7 insertions(+), 5 deletions(-)
diffs (67 lines):
diff -r 80ad60e692a3 -r bb02dc965799 lib/libm/src/s_scalbn.c
--- a/lib/libm/src/s_scalbn.c Sat Apr 27 18:39:28 2013 +0000
+++ b/lib/libm/src/s_scalbn.c Sat Apr 27 18:43:25 2013 +0000
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_scalbn.c,v 1.16 2013/01/28 06:34:09 matt Exp $");
+__RCSID("$NetBSD: s_scalbn.c,v 1.17 2013/04/27 18:43:25 joerg Exp $");
#endif
/*
@@ -40,6 +40,7 @@
#ifdef __weak_alias
__weak_alias(scalbn, _scalbn)
__weak_alias(scalbln, _scalbln)
+__weak_alias(ldexp, _scalbln);
#endif
static const double
diff -r 80ad60e692a3 -r bb02dc965799 lib/libm/src/s_scalbnf.c
--- a/lib/libm/src/s_scalbnf.c Sat Apr 27 18:39:28 2013 +0000
+++ b/lib/libm/src/s_scalbnf.c Sat Apr 27 18:43:25 2013 +0000
@@ -15,7 +15,7 @@
#include <sys/cdefs.h>
#if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: s_scalbnf.c,v 1.10 2013/01/28 06:34:09 matt Exp $");
+__RCSID("$NetBSD: s_scalbnf.c,v 1.11 2013/04/27 18:43:25 joerg Exp $");
#endif
#include "namespace.h"
@@ -27,6 +27,7 @@
#endif
__weak_alias(scalbnf, _scalbnf)
__weak_alias(scalblnf, _scalblnf)
+__weak_alias(ldexpf, _scalblnf);
static const float
two25 = 0x1.0p25, /* 0x4c000000 */
diff -r 80ad60e692a3 -r bb02dc965799 lib/libm/src/s_scalbnl.c
--- a/lib/libm/src/s_scalbnl.c Sat Apr 27 18:39:28 2013 +0000
+++ b/lib/libm/src/s_scalbnl.c Sat Apr 27 18:43:25 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s_scalbnl.c,v 1.5 2013/04/27 17:20:36 joerg Exp $ */
+/* $NetBSD: s_scalbnl.c,v 1.6 2013/04/27 18:43:25 joerg Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: s_scalbnl.c,v 1.5 2013/04/27 17:20:36 joerg Exp $");
+__RCSID("$NetBSD: s_scalbnl.c,v 1.6 2013/04/27 18:43:25 joerg Exp $");
#include "namespace.h"
@@ -46,7 +46,7 @@
__weak_alias(scalbnl, _scalbnl)
__weak_alias(scalblnl, _scalblnl)
-__weak_alias(ldexpl, _scalblnl);
+__weak_alias(ldexpl, _scalblnl);
#if LDBL_MANT_DIG == 64
#define FROM_UNDERFLOW 0x1p65L
Home |
Main Index |
Thread Index |
Old Index