MCPcopy Create free account
hub / github.com/andeya/algorithm / SearchBigRats

Function SearchBigRats

sortutil/sortutil.go:50–52  ·  view source on GitHub ↗

SearchBigRats searches for x in a sorted slice of *big.Int and returns the index as specified by sort.Search. The slice must be sorted in ascending order.

(a []*big.Rat, x *big.Rat)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestSearchBigRatsFunction · 0.85

Calls 1

CmpMethod · 0.80

Tested by 1

TestSearchBigRatsFunction · 0.68