[libc-commits] [libc] [libc] fix error: implicit conversion loses floating-point precision: 'double' to 'float' in shared_math_test.cpp (PR #159934)
Maksim Levental via libc-commits
libc-commits at lists.llvm.org
Sat Sep 20 09:34:55 PDT 2025
makslevental wrote:
Note, I'm not sure if this is the right - the alternative could be
```c++
EXPECT_FP_EQ(0x0p+0, LIBC_NAMESPACE::shared::dsqrtl(0.0));
```
but all the values in this test are single 🤷.
https://github.com/llvm/llvm-project/pull/159934
More information about the libc-commits
mailing list