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

      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".

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

              Created:
              Updated:
              Resolved: