dm_inc Interface

public interface dm_inc

Returns increased integer value.


Module Procedures

private pure elemental function inc_int32(a, b) result(c)

Increases argument a by 1 or b.

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: a

Value to increase.

integer(kind=i4), intent(in), optional :: b

Summand to use.

Return Value integer(kind=i4)

private pure elemental function inc_int64(a, b) result(c)

Increases argument a by 1 or b.

Arguments

Type IntentOptional Attributes Name
integer(kind=i8), intent(in) :: a

Value to increase.

integer(kind=i8), intent(in), optional :: b

Summand to use.

Return Value integer(kind=i8)