Min returns the minimum of the two given numbers.
(a, b uint64)
| 610 | |
| 611 | // Min returns the minimum of the two given numbers. |
| 612 | func Min(a, b uint64) uint64 { |
| 613 | if a < b { |
| 614 | return a |
| 615 | } |
| 616 | return b |
| 617 | } |
| 618 | |
| 619 | // Max returns the maximum of the two given numbers. |
| 620 | func Max(a, b uint64) uint64 { |
no outgoing calls
no test coverage detected