Product Documentation
Cadence SKILL Language Reference
Product Version IC23.1, November 2023

max

max( 
n_num1 [ n_num2 ... ]
) 
=> n_result

Description

Returns the maximum of the values passed in. This function requires at least one argument.

Arguments

n_num1

First value to check.

n_num2

Additional values to check.

Value Returned

n_result

Maximum of the values passed in.

Examples

max(6)       
=> 6
max(3 2 1)       
=> 3
max(-3 -2 -1)    
=> -1

Related Topics

abs

min

numberp

Arithmetic Functions


Return to top
 ⠀
X