]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/tgmath.h
Add exp10 macro to <tgmath.h> (bug 26108)
[thirdparty/glibc.git] / math / tgmath.h
index e8042833dd018a4a0fc62ebcb471e3addc7deed7..13c70222758af7c6f9d70cdfb65fed985cbb0cdb 100644 (file)
 /* Compute base-2 logarithm of X.  */
 #define log2(Val) __TGMATH_UNARY_REAL_ONLY (Val, log2)
 
+#if __GLIBC_USE (IEC_60559_FUNCS_EXT_C2X)
+/* Compute exponent to base ten.  */
+#define exp10(Val) __TGMATH_UNARY_REAL_ONLY (Val, exp10)
+#endif
+
 
 /* Power functions.  */