Commit e8c8555
authored
[libc++] Fix return type of ilogb(double) (#19755)
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.
Signed-off-by: Larsen, Steffen <[email protected]>1 parent 0d06954 commit e8c8555
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments