Date: Fri, 30 Sep 2016 20:20:07 +0000 (UTC) From: Ed Maste <emaste@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306527 - head/lib/msun/src Message-ID: <201609302020.u8UKK7Db019277@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: emaste Date: Fri Sep 30 20:20:07 2016 New Revision: 306527 URL: https://svnweb.freebsd.org/changeset/base/306527 Log: libm: remove unused variables for LDBL_MANT_DIG != 113 Sponsored by: The FreeBSD Foundation Modified: head/lib/msun/src/e_coshl.c head/lib/msun/src/e_sinhl.c head/lib/msun/src/s_tanhl.c Modified: head/lib/msun/src/e_coshl.c ============================================================================== --- head/lib/msun/src/e_coshl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/e_coshl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -86,7 +86,9 @@ long double coshl(long double x) { long double hi,lo,x2,x4; +#if LDBL_MANT_DIG == 113 double dx2; +#endif uint16_t ix; GET_LDBL_EXPSIGN(ix,x); Modified: head/lib/msun/src/e_sinhl.c ============================================================================== --- head/lib/msun/src/e_sinhl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/e_sinhl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -85,7 +85,10 @@ long double sinhl(long double x) { long double hi,lo,x2,x4; - double dx2,s; +#if LDBL_MANT_DIG == 113 + double dx2; +#endif + double s; int16_t ix,jx; GET_LDBL_EXPSIGN(jx,x); Modified: head/lib/msun/src/s_tanhl.c ============================================================================== --- head/lib/msun/src/s_tanhl.c Fri Sep 30 20:06:05 2016 (r306526) +++ head/lib/msun/src/s_tanhl.c Fri Sep 30 20:20:07 2016 (r306527) @@ -113,7 +113,9 @@ long double tanhl(long double x) { long double hi,lo,s,x2,x4,z; +#if LDBL_MANT_DIG == 113 double dx2; +#endif int16_t jx,ix; GET_LDBL_EXPSIGN(jx,x);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609302020.u8UKK7Db019277>