FOTS: 'castable as' issues with numeric values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
Here are some examples of wrong results from 'castable as'.
ZORBA_WITH_
-129 castable as xs:byte
returns true
http://
1.7976931348623
returns true
2147483648 castable as xs:int
returns true
1.7976931348623
returns true
-92233720368547
returns true for ZORBA_WITH_
Basically the same error happens with every numeric data type.
More examples include (but are not limited to):
From the "prod-CastableE
"cbcl-castable-
Related branches
- Markos Zaharioudakis: Approve
-
Diff: 55 lines (+16/-15)1 file modifiedsrc/types/root_typemanager.cpp (+16/-15)
description: | updated |
description: | updated |
Changed in zorba: | |
status: | New → In Progress |
summary: |
- FOST: 'castable as' issues with numeric values + FOTS: 'castable as' issues with numeric values |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
@Markos: please reassign if needed.
I assigned it to you because this could be related to some optimisation issue.