DIGITS(X)
returns the number of significant binary digits of the internal model representation of X. For example, on a system using a 32-bit floating point representation, a default real number would likely return 24.
Fortran 90 and later
Inquiry function
RESULT = DIGITS(X)
X | The type may be INTEGER or REAL . |
The return value is of type INTEGER
.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gfortran/DIGITS.html