Source-Changes-HG archive

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

[src/trunk]: src/lib/libm/src use __HAVE_LONG_DOUBLE



details:   https://anonhg.NetBSD.org/src/rev/d01258c56147
branches:  trunk
changeset: 784845:d01258c56147
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 11 02:45:27 2013 +0000

description:
use __HAVE_LONG_DOUBLE

diffstat:

 lib/libm/src/s_fma.c       |  6 +++---
 lib/libm/src/s_nearbyint.c |  6 +++---
 lib/libm/src/s_rintl.c     |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r 265df25e1b64 -r d01258c56147 lib/libm/src/s_fma.c
--- a/lib/libm/src/s_fma.c      Mon Feb 11 02:45:15 2013 +0000
+++ b/lib/libm/src/s_fma.c      Mon Feb 11 02:45:27 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: s_fma.c,v 1.2 2013/02/11 01:29:58 christos Exp $       */
+/*     $NetBSD: s_fma.c,v 1.3 2013/02/11 02:45:27 christos Exp $       */
 
 /*-
  * Copyright (c) 2005-2011 David Schultz <das%FreeBSD.ORG@localhost>
@@ -30,7 +30,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/lib/msun/src/s_fma.c,v 1.8 2011/10/21 06:30:43 das Exp $");
 #else
-__RCSID("$NetBSD: s_fma.c,v 1.2 2013/02/11 01:29:58 christos Exp $");
+__RCSID("$NetBSD: s_fma.c,v 1.3 2013/02/11 02:45:27 christos Exp $");
 #endif
 
 #include <machine/ieee.h>
@@ -288,6 +288,6 @@
                return (add_and_denormalize(r.hi, adj, spread));
 }
 
-#ifndef EXT_FRACBITS
+#ifndef __HAVE_LONG_DOUBLE
 __weak_reference(fma, fmal);
 #endif
diff -r 265df25e1b64 -r d01258c56147 lib/libm/src/s_nearbyint.c
--- a/lib/libm/src/s_nearbyint.c        Mon Feb 11 02:45:15 2013 +0000
+++ b/lib/libm/src/s_nearbyint.c        Mon Feb 11 02:45:27 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: s_nearbyint.c,v 1.2 2013/02/09 23:14:44 christos Exp $ */
+/*     $NetBSD: s_nearbyint.c,v 1.3 2013/02/11 02:45:27 christos Exp $ */
 
 /*-
  * Copyright (c) 2004 David Schultz <das%FreeBSD.ORG@localhost>
@@ -30,7 +30,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/lib/msun/src/s_nearbyint.c,v 1.2 2008/01/14 02:12:06 das Exp $");
 #else
-__RCSID("$NetBSD: s_nearbyint.c,v 1.2 2013/02/09 23:14:44 christos Exp $");
+__RCSID("$NetBSD: s_nearbyint.c,v 1.3 2013/02/11 02:45:27 christos Exp $");
 #endif
 
 #include <machine/ieee.h>
@@ -59,6 +59,6 @@
 
 DECL(double, nearbyint, rint)
 DECL(float, nearbyintf, rintf)
-#ifdef EXT_FRACBITS
+#ifdef __HAVE_LONG_DOUBLE
 DECL(long double, nearbyintl, rintl)
 #endif
diff -r 265df25e1b64 -r d01258c56147 lib/libm/src/s_rintl.c
--- a/lib/libm/src/s_rintl.c    Mon Feb 11 02:45:15 2013 +0000
+++ b/lib/libm/src/s_rintl.c    Mon Feb 11 02:45:27 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: s_rintl.c,v 1.3 2013/02/09 23:14:44 christos Exp $     */
+/*     $NetBSD: s_rintl.c,v 1.4 2013/02/11 02:45:27 christos Exp $     */
 
 /*-
  * Copyright (c) 2008 David Schultz <das%FreeBSD.ORG@localhost>
@@ -30,7 +30,7 @@
 #if 0
 __FBSDID("$FreeBSD: src/lib/msun/src/s_rintl.c,v 1.5 2008/02/22 11:59:05 bde Exp $");
 #else
-__RCSID("$NetBSD: s_rintl.c,v 1.3 2013/02/09 23:14:44 christos Exp $");
+__RCSID("$NetBSD: s_rintl.c,v 1.4 2013/02/11 02:45:27 christos Exp $");
 #endif
 
 #include <float.h>
@@ -39,7 +39,7 @@
 #include "math.h"
 #include "math_private.h"
 
-#ifdef EXT_EXP_BIAS
+#ifdef __HAVE_LONG_DOUBLE
 static const float
 shift[2] = {
 #if EXT_FRACBITS == 64



Home | Main Index | Thread Index | Old Index