zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #05388
[Bug 867059] Re: Can not handle largest xs:unsignedLong values
** Changed in: zorba
Milestone: None => 2.2
--
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:
In Progress
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