This PR intends to fix the nit (mostly caused during the refactor in 693a018dcf08e ) - During refactor we move the implementation along with the explanation comments to header. ```CPP // This is an algorithm for log(x) in single precision which is correctly // rounded for all rounding modes, based on the implementation of log(x) from // the RLIBM project at: // https://people.cs.rutgers.edu/~sn349/rlibm // Step 1 - Range reduction: // For x = 2^m * 1.mant, log(x) = m * log(2) + log(1.m) // If x is denormal, we normalize it by multiplying x by 2^23 and subtracting ..... // Symposium on Principles of Programming Languages (POPL-2022), Philadelphia, // USA, January 16-22, 2022. // https://people.cs.rutgers.edu/~sn349/papers/rlibmall-popl-2022.pdf ``` Though the explanation comments were copied and moved to header in d2492c1 . It wasn't deleted from the `cpp` file. Along with this in the same, `#include "src/__support/math/logf.h" // Lookup table for (1/f) and log(f)` is wrong as it is actually for `#include "src/__support/math/common_constants.h" // Lookup table for (1/f) and log(f)`
LLVM libc ========= This directory and its subdirectories contain source code for llvm-libc, a retargetable implementation of the C standard library. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.