[all-commits] [llvm/llvm-project] 09cc8e: [libc++] Fix return type of ilogb(double) (#150374)
Steffen Larsen via All-commits
all-commits at lists.llvm.org
Thu Jul 31 12:25:41 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 09cc8eaf1b85e3f39b095febe36759e550906096
https://github.com/llvm/llvm-project/commit/09cc8eaf1b85e3f39b095febe36759e550906096
Author: Steffen Larsen <steffen.larsen at intel.com>
Date: 2025-07-31 (Thu, 31 Jul 2025)
Changed paths:
M libcxx/include/__cxx03/__math/logarithms.h
M libcxx/include/__math/logarithms.h
Log Message:
-----------
[libc++] Fix return type of ilogb(double) (#150374)
This commit addresses a seemingly unintentional return type of the ilogb
overload taking a double. Currently it returns double, while it is
supposed to return int.
The return types seems to be covered by libcxx/test/std/numerics/c.math/cmath.pass.cpp,
but the issue would only show up if we tested with a libc that doesn't
provide the ilogb(double) overload, which we don't.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list