diff options
Diffstat (limited to 'math/tgmath.h')
-rw-r--r-- | math/tgmath.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/tgmath.h b/math/tgmath.h index dbfa92d..d9ee3e3 100644 --- a/math/tgmath.h +++ b/math/tgmath.h @@ -874,6 +874,9 @@ #if __GLIBC_USE (IEC_60559_FUNCS_EXT_C23) /* Compute exponent to base ten. */ #define exp10(Val) __TGMATH_UNARY_REAL_ONLY (Val, exp10) + +/* Return log2(1 + X). */ +#define log2p1(Val) __TGMATH_UNARY_REAL_ONLY (Val, log2p1) #endif |