Contents Previous Next Subchapters

Determining Which Values Have Full Precision
Syntax fullprec(x)
See Also isfinite , isnan

Determines which elements of x are small enough that they are represented in full precision (can be normalized). The argument x is real, double-precision or complex. The return value of fullprec is a logical matrix with the same dimensions as x. The (ij) element of the return value is true, if x(ij) is represented in full precision.

If you enter
     fullprec(2 * DOUBLE_MAX)
O-Matrix will reply
because DOUBLE_MAX is the largest double-precision value that can be represented in full precision.