divide method

DD divide(
  1. double y
)

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

@param y the divisor @return a new object with the value (this / y)

Implementation

DD divide(double y) {
  if (y.isNaN) return createNaN();
  return copy(this).selfDivideHiLo(y, 0.0);
}