Date: Mon, 30 May 2011 19:41:29 +0000 (UTC) From: Steve Kargl <kargl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r222508 - in head/lib/msun: ld128 ld80 src Message-ID: <201105301941.p4UJfTm6090727@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kargl Date: Mon May 30 19:41:28 2011 New Revision: 222508 URL: http://svn.freebsd.org/changeset/base/222508 Log: Clean up the unneeded cpp macro INLINE_REM_PIO2L. Reviewed by: das Approved by: das (mentor) Modified: head/lib/msun/ld128/e_rem_pio2l.h head/lib/msun/ld80/e_rem_pio2l.h head/lib/msun/src/s_cosl.c head/lib/msun/src/s_sinl.c head/lib/msun/src/s_tanl.c Modified: head/lib/msun/ld128/e_rem_pio2l.h ============================================================================== --- head/lib/msun/ld128/e_rem_pio2l.h Mon May 30 19:16:58 2011 (r222507) +++ head/lib/msun/ld128/e_rem_pio2l.h Mon May 30 19:41:28 2011 (r222508) @@ -58,10 +58,7 @@ pio2_2t = 2.067032109826398823649690305 pio2_3 = 2.0670321098263988236499468110329591e-43L, /* 0x127044533e63a0105e00000000000.0p-254 */ pio2_3t = -2.5650587247459238361625433492959285e-65L; /* -0x159c4ec64ddaeb5f78671cbfb2210.0p-327 */ -#ifdef INLINE_REM_PIO2L -static inline __always_inline -#endif -int +static inline __always_inline int __ieee754_rem_pio2l(long double x, long double *y) { union IEEEl2bits u,u1; Modified: head/lib/msun/ld80/e_rem_pio2l.h ============================================================================== --- head/lib/msun/ld80/e_rem_pio2l.h Mon May 30 19:16:58 2011 (r222507) +++ head/lib/msun/ld80/e_rem_pio2l.h Mon May 30 19:41:28 2011 (r222508) @@ -70,10 +70,7 @@ pio2_2t = 6.36831716351095013979e-25L, pio2_3t = -2.75299651904407171810e-37L; /* -0xbb5bf6c7ddd660ce.0p-185 */ #endif -#ifdef INLINE_REM_PIO2L -static inline __always_inline -#endif -int +static inline __always_inline int __ieee754_rem_pio2l(long double x, long double *y) { union IEEEl2bits u,u1; Modified: head/lib/msun/src/s_cosl.c ============================================================================== --- head/lib/msun/src/s_cosl.c Mon May 30 19:16:58 2011 (r222507) +++ head/lib/msun/src/s_cosl.c Mon May 30 19:41:28 2011 (r222508) @@ -35,7 +35,6 @@ __FBSDID("$FreeBSD$"); #include <float.h> #include "math.h" -#define INLINE_REM_PIO2L #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" Modified: head/lib/msun/src/s_sinl.c ============================================================================== --- head/lib/msun/src/s_sinl.c Mon May 30 19:16:58 2011 (r222507) +++ head/lib/msun/src/s_sinl.c Mon May 30 19:41:28 2011 (r222508) @@ -30,7 +30,6 @@ __FBSDID("$FreeBSD$"); #include <float.h> #include "math.h" -#define INLINE_REM_PIO2L #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h" Modified: head/lib/msun/src/s_tanl.c ============================================================================== --- head/lib/msun/src/s_tanl.c Mon May 30 19:16:58 2011 (r222507) +++ head/lib/msun/src/s_tanl.c Mon May 30 19:41:28 2011 (r222508) @@ -36,7 +36,6 @@ __FBSDID("$FreeBSD$"); #include <float.h> #include "math.h" -#define INLINE_REM_PIO2L #include "math_private.h" #if LDBL_MANT_DIG == 64 #include "../ld80/e_rem_pio2l.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105301941.p4UJfTm6090727>