incubator-vxquery-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Preston Carman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VXQUERY-33) Arithmetic Operations
Date Wed, 04 Jul 2012 20:45:33 GMT

    [ https://issues.apache.org/jira/browse/VXQUERY-33?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13406734#comment-13406734
] 

Preston Carman commented on VXQUERY-33:
---------------------------------------

For decimal values, do we get enough precision by converting to double and return the result?
Or do we need to create custom decimal add, subtract, multiply and divide functions.

Besides resolving the decimal question, I still need to add date, time, and datetime to add
and subtract.
                
> Arithmetic Operations
> ---------------------
>
>                 Key: VXQUERY-33
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-33
>             Project: VXQuery
>          Issue Type: Sub-task
>            Reporter: Preston Carman
>            Assignee: Till Westmann
>              Labels: patch
>         Attachments: ArithmeticOperations3.patch, ArthmeticOperations2.patch
>
>
> Build the arithmetic operations for all add, subtrack, multiply and divide actions. These
operations shall work for integers, decimals, float, double, date, time, datetime, year month
duration and day time duration.

--
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

        

Mime
View raw message