[ 
https://issues.apache.org/jira/browse/VXQUERY-45?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Preston Carman resolved VXQUERY-45.
-----------------------------------

    Resolution: Fixed

The double to decimal is now handled by the cast functionality and passes the 
casting tests.
                
> 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
>            Assignee: Preston Carman
>
> 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

        

Reply via email to