Opened 7 years ago

Last modified 7 years ago

#6946 closed defect

Inconsistent behavior with GDALIsValueInRange() — at Version 1

Reported by: Kurt Schwehr Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description (last modified by Kurt Schwehr)

r39170 has no tests and is quirky...

GDALIsValueInRange<float>(1.0f / 0.0f) is false, but

GDALIsValueInRange<double>(1.0 / 0.0) is true.

Is this specialization necessary?

template <> inline bool GDALIsValueInRange<float>(double dfValue)

Change History (1)

comment:1 by Kurt Schwehr, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.