[
https://issues.apache.org/jira/browse/VXQUERY-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13404143#comment-13404143
]
Preston Carman commented on VXQUERY-42:
---------------------------------------
Sample Comparisons with Double and Integers:
Double
(1.1e1 eq 1.1e1)
(1.2e1 ne 1.1e1)
(1.2e1 gt 1.1e1)
(1.1e1 ge 1.1e1)
(1.1e1 lt 1.2e1)
(1.1e1 le 1.1e1)
Integer
(1 eq 1)
(2 ne 1)
(2 gt 1)
(1 ge 1)
(1 lt 2)
(1 le 1)
> Numeric Comparison
> ------------------
>
> Key: VXQUERY-42
> URL: https://issues.apache.org/jira/browse/VXQUERY-42
> Project: VXQuery
> Issue Type: Task
> Reporter: Preston Carman
> Attachments: ValueComparisonOperations.patch,
> ValueComparisonOperations2.patch
>
>
> Implement the following numeric comparison functions.
> op:numeric-equal - Equality comparison
> op:numeric-less-than - Less-than comparison
> op:numeric-greater-than - Greater-than comparison
> http://www.w3.org/TR/xquery-operators/#comp.numeric
--
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