Vinayak Borkar created VXQUERY-45:
-------------------------------------
Summary: XSDecimalPointable.setDecimal(double, byte[], int)
incorrect
Key: VXQUERY-45
URL: https://issues.apache.org/jira/browse/VXQUERY-45
Project: VXQuery
Issue Type: Bug
Reporter: Vinayak Borkar
The conversion of double to bytes for xs:decimal is incorrect. The code simply
ignores a the sign of the value and also any possible exponent.
For example, try the following queries:
-- start query1 --
65535032.0023
-- end query 1 --
-- start query 2 --
-65535032.0023
-- end query 2 --
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira