Re: [MATH] FastMath/AccurateMath & Java 17.

2021-09-22 Thread Alex Herbert
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 /

Re: [MATH] FastMath/AccurateMath & Java 17.

2021-09-22 Thread Gilles Sadowski
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

[MATH] FastMath/AccurateMath & Java 17.

2021-09-22 Thread Erik Svensson
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