Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-1691

div/idiv is broken. Has no tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Back End, QA
    • None

    Description

      From a code review:

      suspect idiv is/has been broken. This xpath spec says (a idiv b) is equivilent to (a div b) cast as an xs:integer. So I would either expect this to be RoundingMode.FLOOR here, or have some code elsewhere that inserts a cast to integer, but I don't see that. There also do not appear to be any tests for idiv, so I wouldn't be surprised if this is broken.

      Attachments

        Activity

          People

            dfthompson Dave Thompson
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: