RFR: 8346914: UB issue in scalbnA

Kim Barrett kbarrett at openjdk.org
Fri Jun 20 16:20:29 UTC 2025


On Fri, 20 Jun 2025 16:06:52 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> Long ago we had our own scalbn and copysign, because we couldn't get those functions from <math.h>. 

There may have been similar issues with the AIX compiler. But since the current AIX compiler is based on a
reasonably modern version of clang, and we're using C++14, it should work there too. Though I forgot to
ask the maintainers of the aix-ppc port to verify that. I'm sure they'll let me know if this doesn't work for them.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/25917#issuecomment-2992178767


More information about the hotspot-dev mailing list