[clang] C89 doesn't have `math.h` functions (PR #129979)

A. Jiang via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 5 19:29:20 PST 2025


frederick-vs-ja wrote:

> Essentially all of math.h doesn't exist until `C99`: https://en.cppreference.com/w/c/numeric/math/log

You seemed to misread the page. `logf` and `logl` exist since C99, while `log` exists since C89.

https://github.com/llvm/llvm-project/pull/129979


More information about the cfe-commits mailing list