cairo-vm-go icon indicating copy to clipboard operation
cairo-vm-go copied to clipboard

SearchSortedLower

Open cicr99 opened this issue 11 months ago • 7 comments

Searches for the first element in a sorted array that is greater than or equal to a given key and returns its index.

Reference: https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/find_element.cairo#L76

Depends on #245 for accessing global variables

cicr99 avatar Mar 11 '24 10:03 cicr99