digit Interface

public interface digit

Compute the number of digits in decimal base of the input integer.

Calls

interface~~digit~~CallsGraph interface~digit digit proc~digit_i8 digit_I8 interface~digit->proc~digit_i8 proc~digit_i2 digit_I2 interface~digit->proc~digit_i2 proc~digit_i1 digit_I1 interface~digit->proc~digit_i1 proc~digit_i4 digit_I4 interface~digit->proc~digit_i4
Help

Module Procedures

private elemental function digit_I8(n) result(digit)

Arguments

Type IntentOptional AttributesName
integer(kind=I8P), intent(in) :: n

Input integer.

Return Value integer(kind=I4P)

Number of digits.

Description

Compute the number of digits in decimal base of the input integer.

private elemental function digit_I4(n) result(digit)

Arguments

Type IntentOptional AttributesName
integer(kind=I4P), intent(in) :: n

Input integer.

Return Value integer(kind=I4P)

Number of digits.

Description

Compute the number of digits in decimal base of the input integer.

private elemental function digit_I2(n) result(digit)

Arguments

Type IntentOptional AttributesName
integer(kind=I2P), intent(in) :: n

Input integer.

Return Value integer(kind=I4P)

Number of digits.

Description

Compute the number of digits in decimal base of the input integer.

private elemental function digit_I1(n) result(digit)

Arguments

Type IntentOptional AttributesName
integer(kind=I1P), intent(in) :: n

Input integer.

Return Value integer(kind=I4P)

Number of digits.

Description

Compute the number of digits in decimal base of the input integer.