[ https://issues.apache.org/jira/browse/TINKERPOP-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16100756#comment-16100756 ]
ASF GitHub Bot commented on TINKERPOP-1736: ------------------------------------------- GitHub user dkuppitz opened a pull request: https://github.com/apache/tinkerpop/pull/682 TINKERPOP-1736 Sack step evaluated by groovy interprets numbers in an unexpected way https://issues.apache.org/jira/browse/TINKERPOP-1736 Fixed a bug in `BigDecimal` divisions in `NumberHelper` that potentially threw an `ArithmeticException`. `docker/build.sh -t -i` succeeded. VOTE: +1 You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/tinkerpop TINKERPOP-1736 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/tinkerpop/pull/682.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #682 ---- commit a612f5f1f642555615494168c392c7c135bd67bc Author: Daniel Kuppitz <daniel_kupp...@hotmail.com> Date: 2017-07-25T18:01:21Z Fixed a bug in `BigDecimal` divisions in `NumberHelper` that potentially threw an `ArithmeticException`. ---- > Sack step evaluated by groovy interprets numbers in an unexpected way > --------------------------------------------------------------------- > > Key: TINKERPOP-1736 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1736 > Project: TinkerPop > Issue Type: Bug > Components: process > Affects Versions: 3.2.5 > Reporter: stephen mallette > Assignee: Daniel Kuppitz > > The issue is discussed to some detail on the dev mailing list: > https://lists.apache.org/thread.html/6b8060c89f5b3744e7a9d1e421b9de980a3e24eb50563423c7690893@%3Cdev.tinkerpop.apache.org%3E > but basically, this fails: > {code} > gremlin> g.withSack(2).V().sack(div).by(constant(3.0)).sack() > Non-terminating decimal expansion; no exact representable decimal result. > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)