Opened 7 years ago
Closed 7 years ago
#6946 closed defect (fixed)
Inconsistent behavior with GDALIsValueInRange()
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)
Change History (2)
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 39324: