mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-28 10:25:13 +08:00
math: add missing term -x^11/11! to TAYLOR_SIN comment
POLYNOMIAL2 uses s5, which is related to -1/11!. Signed-off-by: Zhuxuan Huang <raycppwizard@outlook.com> Reviewed-by: Paul Zimmermann <Paul.Zimmermann@inria.fr>
This commit is contained in:
1 parent
8f041a5ddb
commit
6767dce27e
1 file changed
+1
-1
@@ -53,7 +53,7 @@
|
||||
/* The computed polynomial is a variation of the Taylor series expansion for
|
||||
sin(x):
|
||||
|
||||
x - x^3/3! + x^5/5! - x^7/7! + x^9/9! - dx*x^2/2 + dx
|
||||
x - x^3/3! + x^5/5! - x^7/7! + x^9/9! - x^11/11! - dx*x^2/2 + dx
|
||||
|
||||
The constants s1, s2, s3, etc. are pre-computed values of 1/3!, 1/5! and so
|
||||
on. The result is returned to LHS. */
|
||||
|
||||
Reference in new issue
Block a user