LTspice
Production
LTspice® is a powerful, fast, and free SPICE simulator software, schematic capture and waveform viewer with enhancements and models for improving the simulation...
LTspice on Analog.com
Hi RZetopan ,
From the help:
Numerical parameters support the following operations, grouped in reverse order of precedence of evaluation:
| Operand | Description |
|---|---|
| & | Convert the expressions to either side to Boolean, then AND. |
| | | Convert the expressions to either side to Boolean, then OR. |
| ^ | Convert the expressions to either side to Boolean, then XOR. |
| > | True if expression on the left is greater than the expression on the right, otherwise false. |
| < | True if expression on the left is less than the expression on the right, otherwise false. |
| >= | True if expression on the left is greater than or equal the expression on the right, otherwise false. |
| <= | True if expression on the left is less than or equal the expression on the right, otherwise false. |
| + | Floating point addition |
| - | Floating point subtraction |
| * | Floating point multiplication |
| / | Floating point division |
| % | Remainder of floating point division, same as mod(x,y) function |
| ** | Raise left hand side to power of right hand side, only real part is returned, e.g., -2**1.5 returns zero, not 2.82843i |
mike
Hi RZetopan ,
From the help:
Numerical parameters support the following operations, grouped in reverse order of precedence of evaluation:
| Operand | Description |
|---|---|
| & | Convert the expressions to either side to Boolean, then AND. |
| | | Convert the expressions to either side to Boolean, then OR. |
| ^ | Convert the expressions to either side to Boolean, then XOR. |
| > | True if expression on the left is greater than the expression on the right, otherwise false. |
| < | True if expression on the left is less than the expression on the right, otherwise false. |
| >= | True if expression on the left is greater than or equal the expression on the right, otherwise false. |
| <= | True if expression on the left is less than or equal the expression on the right, otherwise false. |
| + | Floating point addition |
| - | Floating point subtraction |
| * | Floating point multiplication |
| / | Floating point division |
| % | Remainder of floating point division, same as mod(x,y) function |
| ** | Raise left hand side to power of right hand side, only real part is returned, e.g., -2**1.5 returns zero, not 2.82843i |
mike