digits
- Date:
10-12-2011
NAME
DIGITS - Returns the number of significant digits
SYNOPSIS
DIGITS ([X=]x)
IMPLEMENTATION
Cray Linux Environment (CLE)
STANDARDS
Fortran
DESCRIPTION
The DIGITS intrinsic function returns the number of significant digits in the model representing numbers of the same type and kind type parameter as the argument. The number returned is the number of significant radix digits (base 2 digits), not decimal digits. It accepts the following argument:
- x
Must be of type integer or real. It can be scalar or array valued.
DIGITS is an inquiry function. The name of this intrinsic cannot be passed as an argument.
RETURN VALUES
The result type is an integer scalar. The result has the value q if x is of type integer. It has the value p if x is of type real. The values q and p are defined on the models(3i) man page.
SEE ALSO
models(3i)