max
Determining the largest of two numbers.
func uint max (
uint left,
uint right
)
uint left,
uint right
)
Parameters
left | The first compared number of the uint type. |
right | The second compared number of the uint type. |
Return value
The largest of two numbers.
max
Determining the largest of two int numbers.
func uint max (
int left,
int right
)
int left,
int right
)
Parameters
left | The first compared number of the int type. |
right | The second compared number of the int type. |
Return value
The largest of two int numbers.
Related links | Source |