...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
References
[JLS 05]
...
FLP03FLP07-J. Range check before casting floating point numbers to narrower typesDo not use floating point variables as loop counters 07. Floating Point (FLP) 08. Object Orientation (OBJ)FLP09-J. Do not rely on the default string representation of floating point values