This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix typo in csloww()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]