Integrated: 8315024: Vector API FP reduction tests should not test for exact equality

Gergö Barany gbarany at openjdk.org
Tue Oct 24 09:01:53 UTC 2023


On Tue, 3 Oct 2023 07:53:05 GMT, Gergö Barany <gbarany at openjdk.org> wrote:

> Certain floating point reduction operations in the Vector API are allowed to introduce rounding errors. Adjust the corresponding tests to allow a small relative error when comparing the operation's result to the expected value. Also, add a new generator `double[i / 10.0 + 0.1]` to test floating point operations with somewhat more interesting input data.

This pull request has now been integrated.

Changeset: e6f23a90
Author:    Gergö Barany <gbarany at openjdk.org>
Committer: Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e6f23a90d4a53339a3c9c2b76fc5d317940e4472
Stats:     415 lines in 13 files changed: 295 ins; 0 del; 120 mod

8315024: Vector API FP reduction tests should not test for exact equality

Reviewed-by: epeter, thartmann

-------------

PR: https://git.openjdk.org/jdk/pull/16024


More information about the hotspot-compiler-dev mailing list