Skip to content

Commit 3b0791c

Browse files
committed
add sinh and cosh macros
1 parent 516f1cc commit 3b0791c

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

include/mathfunc_libfunc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
# define REAL_SIN sin
1919
# define REAL_ACOS acos
2020
# define REAL_ASIN asin
21+
# define REAL_SINH sinh
22+
# define REAL_COSH cosh
2123
# define REAL_ERF erf
2224
# define REAL_ERFC(x) (1 - erf(x))
2325
# define REAL_MIN fmin
@@ -40,6 +42,8 @@
4042
# define REAL_SIN sinf
4143
# define REAL_ACOS acosf
4244
# define REAL_ASIN asinf
45+
# define REAL_SINH sinhf
46+
# define REAL_COSH coshf
4347
# define REAL_ERF erff
4448
# define REAL_ERFC erfcf_hastings
4549
# define REAL_MIN fminf

0 commit comments

Comments
 (0)