docs: public double getAndAdd(int i, double delta)
      {
          while(true)
          {
              double orig = get(i);
              double newVal = orig + delta;
              if(compareAndSet(i, orig, newVal))
                  return orig;
          }
      }