Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-585

inconsistent behavior of & bitwise operator

    XMLWordPrintable

Details

    Description

      inconsistent behavior of & bitwise operator

      after writing a rule given below

      no-loop

      when
      f: Person(
      ((101 & age) != 0)
      )
      then
      f.setFound(true);
      end

      after calling this several times say 100 it gives inconsistent result. Similar behavior is observed if we place bitwise '&' with bitwise '|'

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            rahsingh_jira Rahul Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: