XL Fortran for AIX 8.1

Language Reference


DIGITS(X)

Returns the number of significant digits for numbers whose type and kind type parameter are the same as the argument.

X
must be of type integer or real. It may be scalar or array valued.

Class

Inquiry function

Result Type and Attributes

Default integer scalar.

+-------------------------------IBM Extension--------------------------------+

Result Value

+----------------------------End of IBM Extension----------------------------+

+-------------------------------IBM Extension--------------------------------+

Examples

DIGITS (X) = 63, where X is of type integer(8) (see Data Representation Models).

+----------------------------End of IBM Extension----------------------------+


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]