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 )
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)
Note:
See TracTickets
for help on using tickets.