diff options
author | Emanuele Torre <torreemanuele6@gmail.com> | 2024-01-26 11:26:57 +0100 |
---|---|---|
committer | Nico Williams <nico@cryptonector.com> | 2024-01-26 16:16:25 -0600 |
commit | bd3c828f9844d0f885881041779d6bbdcc1451f6 (patch) | |
tree | a05d66d1cb27db7b6b6d0a571ca23875143823b1 /src/libm.h | |
parent | 605836b2632aba936d002b5071e22997e0801d8c (diff) |
libm.h+builtin.c: add and use LIBM_DA and LIBM_DA_NO macros
For functions that from one double return an array with two numbers.
Diffstat (limited to 'src/libm.h')
-rw-r--r-- | src/libm.h | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -289,3 +289,18 @@ LIBM_DDD(ldexp) #else LIBM_DDD_NO(ldexp) #endif +#ifdef HAVE_MODF +LIBM_DA(modf, double) +#else +LIBM_DA_NO(modf, double) +#endif +#ifdef HAVE_FREXP +LIBM_DA(frexp, int) +#else +LIBM_DA_NO(frexp, int) +#endif +#ifdef HAVE_LGAMMA_R +LIBM_DA(lgamma_r, int) +#else +LIBM_DA_NO(lgamma_r, int) +#endif |