RFR: 8346914: UB issue in scalbnA
David Holmes
dholmes at openjdk.org
Thu Jun 5 12:54:50 UTC 2025
On Thu, 5 Jun 2025 12:32:39 GMT, Andrew Haley <aph at openjdk.org> wrote:
> I'm somewhat perplexed by this. Should I conclude that you have never succeeded in triggering the UB, and that you do not know if UB ever occurs?
Correct. The potential for UB was spotted by code inspection as Kim reported in the JBS issue. I was unable to determine what argument to what mathematical function (tan/sin/cos) would trigger the overflow paths. If there are any math gurus out there that would know, please speak up.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25656#issuecomment-2944162992
More information about the hotspot-dev
mailing list