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 /

[statistics] Updated abstract test for distributions

2021-09-22 Thread Alex Herbert
I have created a revised design for the abstract test for the distributions. The current design requires that a single parameterization of the distribution is created and this is then tested for the PDF, CDF, SurvivalFunction, and InverseCDF. There are also tests for consistency of survival and CD

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