Hello,
I have
a large list of elements with a numerical attribute associated to each
one. Example:
<a>
<b att ="1002
"/>
<b att ="3452
"/>
<b att ="1322
"/> ...
</a>
I'm
using a external C++ function to compute the sum of the squared of thoses
values (SSX). I means (1002^2) + (3452^2) +
...
It
works fine.
Depending of the values and the number of elements,
the value can become very high, and
I think I reached the numerical limits.
I traced my C++ code. In a particular case, the
"double" is set to ~2E17 in C++, but the XSL node associated with the
external call received a (unrelated) negative value.
What are the exact limits?
Can I
use a viable workaround? I don't know if this solution would works anyway,
but I can't simply output the value as a string, I need to use the SSX for
different calculation later in the XSL.
I'm using Xalan C++.
Thank you
