Can not handle largest xs:unsignedLong values
Bug #867059 reported by
Paul J. Lucas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
Low
|
Paul J. Lucas |
Bug Description
When ZORBA_WITH_
A possible solution would be to templatize Integer with the representation type, e.g.:
typedef IntegerImpl<long long> Integer;
typedef IntegerImpl<
Related branches
lp:~zorba-coders/zorba/bug-867059
- Markos Zaharioudakis: Approve
- Matthias Brantner: Approve
-
Diff: 3551 lines (+1457/-679)39 files modifiedChangeLog (+1/-0)
doc/zorba/build.dox (+2/-1)
doc/zorba/build_options.dox (+35/-0)
src/api/itemfactoryimpl.cpp (+6/-6)
src/common/shared_types.h (+10/-4)
src/compiler/rewriter/rules/flwor_rules.cpp (+1/-1)
src/compiler/rewriter/rules/fold_rules.cpp (+1/-1)
src/compiler/translator/translator.cpp (+3/-3)
src/runtime/booleans/BooleanImpl.cpp (+2/-2)
src/runtime/core/flwor_iterator.cpp (+1/-1)
src/runtime/core/gflwor/count_iterator.cpp (+1/-1)
src/runtime/core/gflwor/for_iterator.cpp (+1/-1)
src/runtime/numerics/NumericsImpl.cpp (+2/-1)
src/store/api/item.h (+1/-1)
src/store/api/item_factory.h (+2/-2)
src/store/naive/atomic_items.cpp (+186/-27)
src/store/naive/atomic_items.h (+111/-39)
src/store/naive/item.cpp (+1/-1)
src/store/naive/simple_item_factory.cpp (+6/-6)
src/store/naive/simple_item_factory.h (+2/-2)
src/types/casting.cpp (+257/-46)
src/types/casting.h (+2/-2)
src/types/schema/XercesParseUtils.cpp (+2/-2)
src/util/stl_util.h (+31/-0)
src/util/string_util.cpp (+13/-5)
src/zorbaserialization/zorba_class_serializer.cpp (+12/-3)
src/zorbaserialization/zorba_class_serializer.h (+11/-2)
src/zorbatypes/decimal.cpp (+80/-47)
src/zorbatypes/decimal.h (+68/-48)
src/zorbatypes/floatimpl.cpp (+20/-1)
src/zorbatypes/floatimpl.h (+19/-4)
src/zorbatypes/integer.cpp (+144/-96)
src/zorbatypes/integer.h (+369/-308)
src/zorbatypes/numconversions.cpp (+8/-1)
src/zorbatypes/numconversions.h (+4/-0)
src/zorbatypes/schema_types.h (+5/-1)
src/zorbatypes/zorbatypes_decl.h (+13/-1)
test/rbkt/Queries/CMakeLists.txt (+13/-11)
test/rbkt/Queries/w3c_known_failures.txt (+11/-1)
Changed in zorba: | |
status: | New → In Progress |
Changed in zorba: | |
milestone: | none → 2.2 |
Changed in zorba: | |
status: | In Progress → Fix Committed |
Changed in zorba: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The tests that were failing (from the W3C test suite) were:
K2-NumericGT-1.xq
K2-NumericGT-2.xq
K2-NumericLT-1.xq
K2-NumericLT-2.xq