Skip to content

Commit

Permalink
HSEARCH-5155 Update float test dataset
Browse files Browse the repository at this point in the history
- so that there are no "rounding" problems when converting to string (https://bugs.openjdk.org/browse/JDK-8291475)
  • Loading branch information
marko-bekhta committed Jul 3, 2024
1 parent 46c9b8a commit 15be25b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected List<Float> createSingle() {
22.0f,
55f,
2500.5100000045f,
1584514514.000000184f,
1584514414.000000184f,
Float.MAX_VALUE
);
}
Expand Down Expand Up @@ -69,7 +69,7 @@ protected List<Float> createUniquelyMatchableValues() {
0.0f,
-0.0f, // Negative 0 is a different float
42.42f,
1584514514.000000184f,
1584514414.000000184f,
-1.001f, 3.0f, 5.1f
);
}
Expand Down

0 comments on commit 15be25b

Please sign in to comment.