Skip to content

Fix comparison for max negative float value.

Dirk Lemstra requested to merge (removed):fix-float-compare into master

FLT_MIN refers to the minimum (normalized) number greater than zero. Checking for the maximum negative floating point number should be done with -FLT_MAX. This patch resolves that issue.

Merge request reports