summaryrefslogtreecommitdiffstats
path: root/itypes.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-12-07 14:07:57 -0800
committerKaz Kylheku <kaz@kylheku.com>2019-12-07 14:07:57 -0800
commit6a88c55cdf0bd3bd6fc33086529bf4e79fd1e03e (patch)
tree82f3c89dab1bdd8a577346802b0e01d9795a24a9 /itypes.h
parentf018af6fe6b0c867c747217890b8b02d8e6d7ffb (diff)
downloadtxr-6a88c55cdf0bd3bd6fc33086529bf4e79fd1e03e.tar.gz
txr-6a88c55cdf0bd3bd6fc33086529bf4e79fd1e03e.tar.bz2
txr-6a88c55cdf0bd3bd6fc33086529bf4e79fd1e03e.zip
Add hyperbolic functions: sinh, cosh, and others.
* arith.c (sinh_s, cosh_s, tanh_s, asinh_s, acosh_s, atanh_s): New symbol variables. (sinh, cosh, tanh, asinh, acosh, atanh): New static functions. (sineh, cosih, tangh, asineh, acosih, atangh): New functions. (arith_init): Register sinh, cosh, tanh, asinh, acosh and atanh intrinsic functions, and initialize the new symbol variables. * configure: Detect availability of hyperbolic functions in math library and defne HAVE_HYPERBOLICS as 1 in config.h accordingly. * lib.h (sineh, cosih, tangh, asineh, acosih, atangh): Declared. * txr.1: Documented new hyperbolic functions and their method counterparts that a numeric struct can implement.
Diffstat (limited to 'itypes.h')
0 files changed, 0 insertions, 0 deletions