Skip to content

Commit 8e7d05d

Browse files
committed
[libc] Update.
1 parent ccc2765 commit 8e7d05d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/src/math/generic/explogxf.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ LIBC_INLINE static double log2_eval(double x) {
320320
return result;
321321
}
322322

323+
// x should be positive, normal finite value
323324
template <typename T> LIBC_INLINE static T log_eval(T x) {
324325
// For x = 2^ex * (1 + mx), logf(x) = ex * logf(2) + logf(1 + mx).
325326
using FPBits = fputil::FPBits<T>;

0 commit comments

Comments
 (0)