Why does we still need StrictMath?
Martin Desruisseaux
martin.desruisseaux at geomatys.com
Sun May 8 12:44:36 UTC 2022
Le 08/05/2022 à 14:15, Victor Williams Stafusa da Silva a écrit :
> Was that using Java 17+, which included JEP 306 delivered?
>
No, but my understanding is that JEP 306 does not apply to Math versus
StrictMath behavior. In my understanding, the strictfp keyword was only
about the use of extended exponent value set in Pentium 80 bits floating
point values. It impacts the behavior of arithmetic operations + - * /,
but my (maybe wrong) understanding is that it does not impact which
processor instruction is used for implementing Math.sin, cos, etc.
Martin
More information about the core-libs-dev
mailing list