Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8358768

[vectorapi] Make VectorOperators.SUADD an Associative

XMLWordPrintable

      Saturating addition over unsigned integers is an associative operation. The proof is easy:

          (a su+ b) su+ c == min(a u+ b u+ c, MAX_UINT) == a su+ (b su+ c)

            igraves Ian Graves
            qmai Quan Anh Mai
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: