...
[JLS 05] Section 4.2.3, Floating-Point Types, Formats, and Values
[Bloch 08] Item 48: Avoid float
and double
if exact answers are required
[Bloch 05] Puzzle 2: Time for a Change
...
05. Floating Point (FLP) 05. Floating Point (FLP) FLP01-J. Take care in rearranging floating point expressions