AntiPattern
Stale Import Mock Breaks
stale-export-mock-breaks
The Java specification requires a troublesome double rounding in this situation. — System.out.printf("x = %.20f , y = %.20f%n", x, y);. | Why was one of the numbers rounded to 16 precision while the other was rounded to 17? — System.out.printf("x = %.20f , y = %.20f%n", x, y);. Tension: Why aren't they both 16 precision? Or why aren't they both 17 precision? Outcome: why the precisions are different? | The Java specification requires a troublesome double rounding in this situation. Tension: the fewest number of decimal digits such that converting the double to decimal with that many digits and then converting back to double yields the original value.