HomeManualTopicsTypesSymbols

std::max

returns the largest of its (potentially) many arguments

Parameter

args*
the arguments to compare

Results

value
the largest of the arguments
Topic: Math

Example

println! max(47 11 32)

Output

47

See also

std::min returns the smallest of its (potentially) many arguments
std::min_max returns the smaller and the larger of its two arguments