Open andrewcraik opened 6 years ago
@smlambert FYI
You can make your text show up preformatted by either fencing it with three backticks, or spacing with four spaces:
```
fenced code shows up pre
```
four spaces also
leads to pre
For inline pre
, wrap the section with a single backtick:
Lorem ipsum `<html>` dolor sit amet
See more in the GitHub Guide to Mastering Markdown
The tests in openj9/test/Java8andUp/src/org/openj9/test/floatsanity/custom/Check1ULPMath.java have a pattern which says:
The isNan test is not needed - it is handled by assertEquals and isNaN results will never fail because we only ever test the expected value. It may be better for these tests keep the expected value as a long and to only do
Double.longBitsToDouble
to generate the operand(s), do the test, and then useDouble.doubleToLongBits
which will then make the comparisons bit accurate without floating point math which happens in the Asserts for double and float even if the delta is 0.