Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1736

Sack step evaluated by groovy interprets numbers in an unexpected way

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.5
    • 3.3.0, 3.1.8, 3.2.6
    • process
    • None

    Description

      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:

      gremlin> g.withSack(2).V().sack(div).by(constant(3.0)).sack()
      Non-terminating decimal expansion; no exact representable decimal result.
      

      Attachments

        Activity

          People

            dkuppitz Daniel Kuppitz
            spmallette Stephen Mallette
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: