Vector API reproducibility bug (?)

Quân Anh Mai anhmdq at gmail.com
Tue Aug 16 18:56:17 UTC 2022


Hi, the simple reason is that results produced by `java.lang.Math` are not
required to be reproducible. In particular, `java.lang.Math::acos` allows
1ulp of errors and only requires semi-monotonicity. As a result, different
implementations (vector vs scalar implementation) are allowed to produce
different results for the same input.

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20220817/533aaa6b/attachment.htm>


More information about the panama-dev mailing list