Strictfp only applies to intermediate computations [1]. With strictfp
all intermediates have to be represented with the same precision on
all platforms, thus under/overflow will occur at the same point in the
computation.
double a = Double.MAX_VALUE;
double b = 2;
double c = 3;
double y = a * b /
Hello.
Le mer. 22 sept. 2021 à 14:00, Erik Svensson
a écrit :
>
>
>
> Howdy gents!
>
>
>
> I’ve been preparing for a lecture on java 17 and noticed that all floating
> point operations will be strictfp (ie strictfp will be retired).
>
> In the long run, does this mean that the rationale for Accu
Howdy gents!
I’ve been preparing for a lecture on java 17 and noticed that all floating
point operations will be strictfp (ie strictfp will be retired).
In the long run, does this mean that the rationale for AccurateMath goes away?
Cheers
Erik Svensson
Principal Architect
Strategic Programs, P