You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "Cameron Samak (JIRA)" <ji...@apache.org> on 2015/11/09 04:03:10 UTC

[jira] [Updated] (ASTERIXDB-1166) Cannot multiply by negative 1

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

Cameron Samak updated ASTERIXDB-1166:
-------------------------------------
    Description: 
Query:

{code}
(-0.999 * 5)
(-1.001 * 5)
(-1 * 5)
{code}

Returns:

{code}
[-4.995]
[-5.004999999999999]
Overflow Happened. [HyracksDataException]
{code}

  was:
Query:

{code}
(-0.999 * 5)
(-0.001 * 5)
(-1 * 5)
{code}

Returns:

{code}
[-4.995]
[-0.005]
Overflow Happened. [HyracksDataException]
{code}


> Cannot multiply by negative 1
> -----------------------------
>
>                 Key: ASTERIXDB-1166
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1166
>             Project: Apache AsterixDB
>          Issue Type: Bug
>          Components: Hyracks
>         Environment: master (97dd45d2d4426bcb1a3971f021839dbfd7993fc2)
>            Reporter: Cameron Samak
>
> Query:
> {code}
> (-0.999 * 5)
> (-1.001 * 5)
> (-1 * 5)
> {code}
> Returns:
> {code}
> [-4.995]
> [-5.004999999999999]
> Overflow Happened. [HyracksDataException]
> {code}



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