Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-521

Decimal64 does not enforce ranges correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 4407

    Description

      org.opendaylight.yangtools.yang.model.util.Decimal64 does not take fraction digits into account when constructing the default base range restrictions.

      This means that even with fraction digits > 1, the base range restriction remains as if fraction digits were 1. This means we can accept values outside of the representable range, since our internal representation is not capped.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: