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 | |
| 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')
| -rw-r--r-- | lib/libm/Makefile | 10 | ||||
| -rw-r--r-- | lib/libm/src/s_fmal.c | 6 | ||||
| -rw-r--r-- | lib/libm/src/s_frexpl.c | 6 |
3 files changed, 11 insertions, 11 deletions
diff --git a/lib/libm/Makefile b/lib/libm/Makefile index 9f641bb65a5..0472cb7c1f7 100644 --- a/lib/libm/Makefile +++ b/lib/libm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.132 2013/02/11 17:55:01 matt Exp $ +# $NetBSD: Makefile,v 1.133 2013/02/12 21:40:18 martin Exp $ # # @(#)Makefile 5.1beta 93/09/24 # @@ -68,9 +68,9 @@ COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c .endif .PATH: ${.CURDIR}/arch/i387 -COMMON_SRCS+= fenv.c s_nextafterl.c s_nexttoward.c s_nexttowardf.c \ +COMMON_SRCS+= fenv.c s_nexttoward.c s_nexttowardf.c \ s_nearbyint.c s_rintl.c \ - s_scalbln.c s_frexpl.c # s_nan.c + s_scalbln.c # s_nan.c COMMON_SRCS+= s_fma.c s_fmaf.c s_fmal.c ARCH_SRCS = e_acos.S e_asin.S e_atan2.S e_exp.S e_expf.S e_fmod.S e_log.S \ @@ -155,7 +155,7 @@ COMMON_SRCS+= b_exp.c b_log.c b_tgamma.c \ s_floor.c s_floorf.c s_frexpf.c s_ilogb.c s_ilogbf.c s_ilogbl.c \ s_isinff.c s_isnanf.c s_ldexpf.c s_lib_version.c s_log1p.c \ s_log1pf.c s_logb.c s_logbf.c s_logbl.c \ - s_matherr.c s_modff.c s_nextafter.c \ + s_matherr.c s_modff.c s_nextafter.c s_nextafterl.c \ s_nextafterf.c s_remquo.c s_remquof.c s_rint.c s_rintf.c s_round.c s_roundf.c s_scalbn.c \ s_scalbnf.c s_scalbnl.c s_signgam.c s_significand.c s_significandf.c s_sin.c \ s_sinf.c s_tan.c s_tanf.c s_tanh.c s_tanhf.c s_tgammaf.c s_trunc.c s_truncf.c \ @@ -169,7 +169,7 @@ COMMON_SRCS+= b_exp.c b_log.c b_tgamma.c \ w_pow.c w_powf.c w_remainder.c w_remainderf.c w_scalb.c w_scalbf.c \ w_sinh.c w_sinhf.c w_sqrt.c w_sqrtf.c \ lrint.c lrintf.c llrint.c llrintf.c lround.c lroundf.c llround.c \ - llroundf.c s_frexp.c s_ldexp.c s_modf.c \ + llroundf.c s_frexp.c s_frexpl.c s_ldexp.c s_modf.c \ s_fmax.c s_fmaxf.c s_fmaxl.c \ s_fmin.c s_fminf.c s_fminl.c s_fdim.c 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 |
