[libcxx-commits] [libcxx] [libc++][math] Fix undue overflowing of `std::hypot(x, y, z)` (PR #93350)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 18 13:06:49 PDT 2024
ldionne wrote:
@PaulXiCao This seems to be failing with many error messages that seem legitimate:
```
__math/hypot.h:74:15: error: magnitude of floating-point constant too large for type 'long double'; maximum is 1.7976931348623157E+308 [-Werror,-Wliteral-range]
return {0x1.0p+8'190l, 0x1.0p-9'000l};
^
```
https://github.com/llvm/llvm-project/pull/93350
More information about the libcxx-commits
mailing list