zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #00848
[Bug 867059] Re: Can not handle largest xs:unsignedLong values
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
--
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/867059
Title:
Can not handle largest xs:unsignedLong values
Status in Zorba - The XQuery Processor:
New
Bug description:
When ZORBA_WITH_BIG_INTEGER=OFF, the implementation of Integer used a
"long long" for the representation. However, Zorba currently uses
Integer for xs:unsignedLong. This can not handle the largest,
unsigned, 64-bit value.
A possible solution would be to templatize Integer with the
representation type, e.g.:
typedef IntegerImpl<long long> Integer;
typedef IntegerImpl<unsigned long long> UnsignedInteger;
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/867059/+subscriptions