Skip to content

max

int  max(int value1, int value2, ...)

float  max(float value1, float value2, ...)

Returns the maximum value of the arguments.

<vector> max(<vector>value1, <vector>value2, ...)

Returns a vector where each component is the maximum of the corresponding components in the arguments.

<type> max(<type>values[])

Returns the maximum value in the array.

float  max(<vector>values)

Returns the maximum of the vector’s components.

<type> max(<type>value)

Returns the argument.