Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-4027

wrong comparison of floating point numbers in trigger function count()

    XMLWordPrintable

    Details

      Description

      When we evaluate the "eq" operator for function count(), we consider two values equal if they are within 10^-5 of each other.

      When we evaluate the "ge" operator, we consider value A greater than or equal to another value B if "A >= B". Clearly, this is wrong, because if A is smaller than B, but within 10^-5, "ge" comparison should yield "true".

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            asaveljevs Aleksandrs Saveljevs
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: