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:
Zhuxuan Huang authored and Adhemerval Zanella committed 2026-10-20 07:07:32 -05:00
1 parent 8f041a5ddb
commit 6767dce27e
1 file changed
+1 -1
+1 -1
View File
@@ -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. */