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

xtimes

xtimes( 
x_op1 
x_op2 
[ x_opt3 ] 
) 
=> x_result

Description

Returns the integer result of multiplying the first operand by one or more operands. xtimes is an integer-only arithmetic function while times can handle integers and floating-point numbers. xtimes runs slightly faster than times in integer arithmetic calculation.

Arguments

x_op1

First operand to be multiplied.

x_op2

Second operand to be multiplied.

x_opt3

Optional additional operands to be multiplied.

Value Returned

x_result

Result of the multiplication.

Examples

xtimes(12 13)   
=> 156
xtimes(-12 -13) 
=> 156

Return to top
 ⠀
X