From 6c9642eda644eb76e03776e16dae41b624a709b9 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Fri, 27 Dec 2013 12:27:46 +1000 Subject: [PATCH] Fix typo in csloww() An incorrect variable name was used during the refactoring done in commit 4aafb73c. --- ChangeLog | 6 ++++++ NEWS | 2 +- sysdeps/ieee754/dbl-64/s_sin.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 584f5896fd0..93dceecb3ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2013-12-27 Allan McRae + + [BZ #16369] + * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name. + Reported by Il'ya Malakhov + 2013-12-24 Brooks Moses * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for diff --git a/NEWS b/NEWS index f3c19d83a7d..fcf679a9003 100644 --- a/NEWS +++ b/NEWS @@ -23,7 +23,7 @@ Version 2.19 16038, 16041, 16055, 16071, 16072, 16074, 16077, 16078, 16103, 16112, 16143, 16144, 16146, 16150, 16151, 16153, 16167, 16172, 16195, 16214, 16245, 16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337, - 16338, 16356. + 16338, 16356, 16369. * The public headers no longer use __unused nor __block. This change is to support compiling programs that are derived from BSD sources and use diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c index bd2346cb9a2..edc441577c4 100644 --- a/sysdeps/ieee754/dbl-64/s_sin.c +++ b/sysdeps/ieee754/dbl-64/s_sin.c @@ -1102,7 +1102,7 @@ csloww (double x, double dx, double orig) int4 n; /* Taylor series */ - t = TAYLOR_SLOW (x, dx, cor); + res = TAYLOR_SLOW (x, dx, cor); if (cor > 0) cor = 1.0005 * cor + ABS (orig) * 3.1e-30; -- 2.47.2