You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vxquery.apache.org by "Preston Carman (JIRA)" <ji...@apache.org> on 2015/04/13 19:50:13 UTC

[jira] [Commented] (VXQUERY-141) Conversion from String to Double and Float and vice versa

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

Preston Carman commented on VXQUERY-141:
----------------------------------------

Does this test pass on your system with the supplied patch?

Expressions/Operators/ArithExpr/DurationArith/DayTimeDurationDivideDTD//op-divide-dayTimeDuration-by-dTD-1

I am wondering if this is a local issue for my computer.

> Conversion from String to Double and Float and vice versa
> ---------------------------------------------------------
>
>                 Key: VXQUERY-141
>                 URL: https://issues.apache.org/jira/browse/VXQUERY-141
>             Project: VXQuery
>          Issue Type: Bug
>            Reporter: Shivani Mall
>            Assignee: Preston Carman
>         Attachments: castPatch.diff
>
>
> Several of the XQTS tests fail for extremely large or small value numbers
> being converted to a double from a string. The issue lies in the custom
> parse double code. (Its not a simple algorithm to convert a string to a
> double without losing precision.) The cast function's argument is a byte
> array that holds a UTF8 string 
> (from the mailing list)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Commented] (VXQUERY-141) Conversion from String to Double and Float and vice versa

Posted by Shivani Mall <sm...@ucr.edu>.
Yes it does.

[image: Inline image 1]


ᐧ

On Mon, Apr 13, 2015 at 10:50 AM, Preston Carman (JIRA) <ji...@apache.org>
wrote:

>
>     [
> https://issues.apache.org/jira/browse/VXQUERY-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14492732#comment-14492732
> ]
>
> Preston Carman commented on VXQUERY-141:
> ----------------------------------------
>
> Does this test pass on your system with the supplied patch?
>
>
> Expressions/Operators/ArithExpr/DurationArith/DayTimeDurationDivideDTD//op-divide-dayTimeDuration-by-dTD-1
>
> I am wondering if this is a local issue for my computer.
>
> > Conversion from String to Double and Float and vice versa
> > ---------------------------------------------------------
> >
> >                 Key: VXQUERY-141
> >                 URL: https://issues.apache.org/jira/browse/VXQUERY-141
> >             Project: VXQuery
> >          Issue Type: Bug
> >            Reporter: Shivani Mall
> >            Assignee: Preston Carman
> >         Attachments: castPatch.diff
> >
> >
> > Several of the XQTS tests fail for extremely large or small value numbers
> > being converted to a double from a string. The issue lies in the custom
> > parse double code. (Its not a simple algorithm to convert a string to a
> > double without losing precision.) The cast function's argument is a byte
> > array that holds a UTF8 string
> > (from the mailing list)
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>