We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccc2765 commit 8e7d05dCopy full SHA for 8e7d05d
libc/src/math/generic/explogxf.h
@@ -320,6 +320,7 @@ LIBC_INLINE static double log2_eval(double x) {
320
return result;
321
}
322
323
+// x should be positive, normal finite value
324
template <typename T> LIBC_INLINE static T log_eval(T x) {
325
// For x = 2^ex * (1 + mx), logf(x) = ex * logf(2) + logf(1 + mx).
326
using FPBits = fputil::FPBits<T>;
0 commit comments