rank returns the number of integers that are smaller or equal to x. rank(infinity) would be getCardinality().
(uint16)
| 27 | // rank returns the number of integers that are |
| 28 | // smaller or equal to x. rank(infinity) would be getCardinality(). |
| 29 | rank(uint16) int |
| 30 | |
| 31 | // getCardinalityInRange returns the number of integers that are |
| 32 | // within the half-open range [start, end). It is equivalent to |
no outgoing calls