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

minus

minus( 
n_op 
) 
=> n_result

Description

Returns the negative of a number. Prefix form of the - unary operator.

Arguments

n_op

A number.

Value Returned

n_result

Negative of the number.

Examples

minus( 10 )   
=> -10
minus( -1.0 ) 
=> 1.0
minus( -0 )   
=> 0

Related Topics

Arithmetic Functions


Return to top
 ⠀
X