DBCSR
2.8.0
Guide
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Programs
i8_bsearch
Function
19 statements
Source File
dbcsr_tas_split.F
dbcsr_tas_split
i8_bsearch
Contents
private function i8_bsearch(array, el, l_index, u_index) result(res)
binary search for 8-byte integers
Arguments
Type
Intent
Optional
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