[PATCH] Fix typo in csloww()

Allan McRae allan@archlinux.org
Fri Dec 27 00:41:00 GMT 2013


An incorrect variable name was used during the refactoring done in
commit 4aafb73c.
---
 sysdeps/ieee754/dbl-64/s_sin.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Posting to confirm this is as obvious as it appears!


ChangeLog:

2013-12-xx  Allan McRae  <allan@archlinux.org>

	[BZ #16369]
	* sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
	Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>


diff --git a/sysdeps/ieee754/dbl-64/s_sin.c b/sysdeps/ieee754/dbl-64/s_sin.c
index bd2346c..edc4415 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;
-- 
1.8.5.2



More information about the Libc-alpha mailing list