The result of Math.log(3.0) is different on x86_64 and aarch64?

Andrew Dinn adinn at
Mon Jul 29 14:44:29 UTC 2019

On 29/07/2019 15:25, Martin Buchholz wrote:
> I was surprised to see the doc of Math.log make it explicit:
> """The computed result must be within 1 ulp of the exact result. Results
> must be semi-monotonic."""

Yes, indeed. I had to look up semi-monotonic even though I really ought
to have known what it meant :-)

Anyway, there is no surprise really once you correlate the thoroughness
of that documentation (and the rest ...) with the inestimably efficient
purring of the engine that is Joe Darcy's brain. This is one area that
really can be nailed down by spec and it is very nice to see that it has


Andrew Dinn

More information about the jdk-dev mailing list