Does "strictfp" affect called/intrinsified Math functions?
Andrew Haley
aph at redhat.com
Tue Jan 26 10:35:24 UTC 2021
On 1/25/21 9:19 PM, Andrew Leonard wrote:
> Can I just check my understanding is correct, in that the following example
> will not actually return a "strictfp" value, because the Math.exp() is not
> strictfp and by default is a non-strictfp Intrinsic inline implementation?
strictfp affects the code in this method, not other methods called from it.
If you need StrictMath.exp, which I very much doubt, you'll have to call it.
There's no real connection between StrictMath and strictfp.
--
Andrew Haley (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the hotspot-dev
mailing list