valueOf static method

DD valueOf(
  1. double x
)

Converts the double argument to a DoubleDouble number.

@param x a numeric value @return the extended precision version of the value

Implementation

static DD valueOf(double x) {
  return new DD(x);
}