i8_bsearch Function

private function i8_bsearch(array, el, l_index, u_index) result(res)

binary search for 8-byte integers

Arguments

Type IntentOptional Attributes Name
integer(kind=int_8), intent(in) :: array(:)
integer(kind=int_8), intent(in) :: el
integer, intent(in), optional :: l_index
integer, intent(in), optional :: u_index

Return Value integer