Method on @infsup: sqrt (X)

Compute the square root (for all non-negative numbers).

Since intervals are only defined for real numbers, this function and realsqrt are equivalent.

Accuracy: The result is a tight enclosure.

sqrt (infsup (-6, 4))
  ⇒ ans = [0, 2]

See also: @@infsup/sqr, @@infsup/pow, @@infsup/nthroot, @@infsup/cbrt.

Package: interval