subtract method

DD subtract(
  1. double y
)

Computes a new DoubleDouble object whose value is (this - y).

@param y the subtrahend @return (this - y)

Implementation

DD subtract(double y) {
  return add(-y);
}