diff options
| author | martin <martin@NetBSD.org> | 2013-02-12 21:40:18 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2013-02-12 21:40:18 +0000 |
| commit | a191e8b63e9cdd3607060ca683bb45babcf06428 (patch) | |
| tree | 7dbe2a22ed82a134633d2584fbd8bc10547e5831 /lib/libm/src | |
| parent | d22e5ecf3c96d22d875de76d04c776812778be80 (diff) | |
Use __HAVE_LONG_DOUBLE instead of EXT_EXPBITS and include s_nextafterl.c
as well as s_frexpl.c in the global list of "common" sources - as we
seem to have no arch redefining the standard double variant, it seems
unlikely we will have on redefining the long double version in assembler.
Diffstat (limited to 'lib/libm/src')
| -rw-r--r-- | lib/libm/src/s_fmal.c | 6 | ||||
| -rw-r--r-- | lib/libm/src/s_frexpl.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libm/src/s_fmal.c b/lib/libm/src/s_fmal.c index 90481d888a9..eca2ba85f64 100644 --- a/lib/libm/src/s_fmal.c +++ b/lib/libm/src/s_fmal.c @@ -1,4 +1,4 @@ -/* $NetBSD: s_fmal.c,v 1.2 2013/02/11 01:29:58 christos Exp $ */ +/* $NetBSD: s_fmal.c,v 1.3 2013/02/12 21:40:19 martin Exp $ */ /*- * Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG> @@ -30,7 +30,7 @@ #if 0 __FBSDID("$FreeBSD: src/lib/msun/src/s_fmal.c,v 1.7 2011/10/21 06:30:43 das Exp $"); #else -__RCSID("$NetBSD: s_fmal.c,v 1.2 2013/02/11 01:29:58 christos Exp $"); +__RCSID("$NetBSD: s_fmal.c,v 1.3 2013/02/12 21:40:19 martin Exp $"); #endif #include <machine/ieee.h> @@ -40,7 +40,7 @@ __RCSID("$NetBSD: s_fmal.c,v 1.2 2013/02/11 01:29:58 christos Exp $"); #include "math_private.h" -#ifdef EXT_EXPBITS +#ifdef __HAVE_LONG_DOUBLE /* * A struct dd represents a floating-point number with twice the precision * of a long double. We maintain the invariant that "hi" stores the high-order diff --git a/lib/libm/src/s_frexpl.c b/lib/libm/src/s_frexpl.c index de2ae10ca15..7a65d87f6bb 100644 --- a/lib/libm/src/s_frexpl.c +++ b/lib/libm/src/s_frexpl.c @@ -1,4 +1,4 @@ -/* $NetBSD: s_frexpl.c,v 1.2 2013/02/11 01:47:04 christos Exp $ */ +/* $NetBSD: s_frexpl.c,v 1.3 2013/02/12 21:40:19 martin Exp $ */ /*- * Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG> @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: s_frexpl.c,v 1.2 2013/02/11 01:47:04 christos Exp $"); +__RCSID("$NetBSD: s_frexpl.c,v 1.3 2013/02/12 21:40:19 martin Exp $"); #include <machine/ieee.h> #include <float.h> @@ -37,7 +37,7 @@ __RCSID("$NetBSD: s_frexpl.c,v 1.2 2013/02/11 01:47:04 christos Exp $"); #include "math_private.h" -#ifdef EXT_EXPBITS +#ifdef __HAVE_LONG_DOUBLE #if LDBL_MAX_EXP != 0x4000 #error "Unsupported long double format" #endif |
