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

ASF subversion and git services commented on MARMOTTA-628:
----------------------------------------------------------

Commit 1eb006530f6070fdce26c970fd77b22f69a960c9 in marmotta's branch 
refs/heads/develop from [~wikier]
[ https://git-wip-us.apache.org/repos/asf?p=marmotta.git;h=1eb0065 ]

MARMOTTA-627: temporally disabled test that detected MARMOTTA-628


> Arithmetic operation in SPARQL use wrong operator precedence
> ------------------------------------------------------------
>
>                 Key: MARMOTTA-628
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-628
>             Project: Marmotta
>          Issue Type: Bug
>          Components: KiWi Triple Store
>    Affects Versions: 3.4.0
>            Reporter: Sergio Fernández
>            Priority: Minor
>             Fix For: 3.3.0
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> The following query: {code}SELECT ( (4.5-4.4)*0.1 as ?c )  WHERE {}{code}
> should return {{0.01}}, but currently gives {{4.06}}.
> So it looks it actually does {code}4.5 - 4.4 * 0.1){code} so {code}4.5 - 
> (4.4*0.1){code} where parenthesis look to be ignored/removed from the 
> calculation.



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

Reply via email to