Implement missing hyperbolic Math functions from ES6 (#3670)

Math.cosh, Math.sinh, Math.tanh

C implementation ported from fdlibm.

Part of Issue #3568

JerryScript-DCO-1.0-Signed-off-by: Rafal Walczyna r.walczyna@samsung.com
This commit is contained in:
Rafal Walczyna
2020-04-21 12:34:38 +02:00
committed by GitHub
parent d1bf9635c7
commit bcd5ff3f40
11 changed files with 718 additions and 12 deletions
+5
View File
@@ -56,6 +56,11 @@ double asin (double);
double atan (double);
double atan2 (double, double);
/* Hyperbolic functions. */
double cosh (double x);
double sinh (double x);
double tanh (double x);
/* Inverse hyperbolic functions */
double acosh (double);
double asinh (double);