Issue 113711
Summary hypot(x, y), hypotf(x, y), hypotl(x, y) are not folded at the compilation time when (x, n) is constant
Labels new issue
Assignees
Reporter fawdlstty
    Consider the following example.
<https://godbolt.org/z/TfYn34Pv8>

```cpp
#include <cmath>

double f1() {
  return std::hypot(3.0, 4.0);
}

double f2() {
  return std::hypotf(3.0f, 4.0f);
}

double f3() {
  return std::hypotl(3.0, 4.0);
}
```

_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to