FL_MATH_USING_FLOAT_PRECISION

View: New views
1 Messages — Rating Filter:   Alert me  

FL_MATH_USING_FLOAT_PRECISION

by Tobias van Treeck :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Recently findbugs reported the following bug in my code:

FL_MATH_USING_FLOAT_PRECISION

The method performs math operations using floating point precision. Floating point precision is very imprecise. For example, 16777216.0f + 1.0f = 16777216.0f. Consider using double math instead.


In some other project i remembered that bug but didn't remember which project it was, so i searched the online bug descriptions.
However i couldn't find the bug description there:
http://findbugs.sourceforge.net/bugDescriptions.html

Has it been forgotten?
Regards,
ToM

_______________________________________________
Findbugs-discuss mailing list
Findbugs-discuss@...
https://mailman.cs.umd.edu/mailman/listinfo/findbugs-discuss