pack_pair Function

public function pack_pair(a, b) result(r)

Pack a pair of 32 bit integers into a single integer of 64 bits Only works for positive integers!

Arguments

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

Return Value integer(kind=i8)