This question is locked. New answers and comments are not allowed.
Is there a way, using JustCode or VS, to identify and flag instances in which there is a direct, simple equality test between two floating point values?
Such comparisons are problematic. See, for instance, http://stackoverflow.com/questions/14844659/comparing-float-and-double-values-with-delta
As that article points out, >= and <= include within themselves an equality test.
My specific environment is VB.NET, .NET Framework 4.5, VS2013.
chw
Such comparisons are problematic. See, for instance, http://stackoverflow.com/questions/14844659/comparing-float-and-double-values-with-delta
As that article points out, >= and <= include within themselves an equality test.
My specific environment is VB.NET, .NET Framework 4.5, VS2013.
chw