Opened 7 years ago
Closed 7 years ago
#1582 closed defect (invalid)
problem in cast operator
Reported by: | Peter Baumann | Owned by: | Dimitar Misev |
---|---|---|---|
Priority: | major | Milestone: | Future |
Component: | qlparser | Version: | development |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
on http://standards.rasdaman.com → rasql console I get different results for these two queries:
image>>SELECT encode( (char) (((c.0 - c.1) / ((float)c.0 + (float)c.1)) > 0) * 255, "PNG") FROM NIR AS c
image>>SELECT encode( (char) (((c.0 - c.1) / ((float)c.0 + (float)c.1)) > 0) * 255, "PNG") FROM NIR AS c
Obviously, the QL Guide Rule of type adjustment on division does not work correctly (BTW, we had this earlier, and it was fixed earlier).
Change History (5)
comment:1 by , 7 years ago
comment:3 by , 7 years ago
Priority: | critical → major |
---|
comment:4 by , 7 years ago
Milestone: | 9.5 → Future |
---|
comment:5 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I will close it as it very unclear what this ticket is about.
Note:
See TracTickets
for help on using tickets.
yet another result comes with