digits(x): Significant Binary Digits¶
Significant binary digits.
Declaration¶
Sintaxe¶
retval = digits(x)
Argumentos¶
x
the input value must be of type real or integer.
Valores de retorno¶
The return value is of type integer.
Descrição¶
digits(x) returns the number of significant binary digits of the internal
mopdel representation of x
.
Tipos¶
Supported argument types are real and integer.
Exemplos¶
program intrinsics_digits
print *, digits(3.1)
end program
Resultado:
24