10.06.2016 Views

eldo_user

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Eldo Netlist Setup<br />

Arithmetic Functions<br />

Function<br />

FLOOR(val)<br />

IDT(val)<br />

INTEG(val)<br />

Table 4-2. Arithmetic Functions and Operators (cont.)<br />

Returns<br />

Floor rounding function, returns the largest integer value not<br />

greater than val. This is known as rounding down. For example<br />

floor(1.25) returns 1.0 and floor(-1.25) return -2.0.<br />

Returns the integral of val<br />

Returns the integral of val (equivalent to IDT). Value returned<br />

does not depend on the current x-axis value.<br />

INT(val)<br />

LIMIT(a, b, c)<br />

LOG(val)<br />

LOG10(val)<br />

MAX(val1,..., valn)<br />

DMAX(val1,...,valn)<br />

MIN(val1,..., valn)<br />

DMIN(val1,...,valn)<br />

MOD(x,y)<br />

ONGRID([offset], step, value)<br />

POW(val1, val2)<br />

PWR(val1, val2)<br />

PWL(xvalue, interp, x1, y1, ...<br />

xn, yn)<br />

PWL_CTE(xvalue, interp, x1,<br />

y1, ... xn, yn)<br />

Integer value of val (equivalent to TRUNC)<br />

Returns b if a < b, returns c if a > c, returns a otherwise<br />

Neperian logarithm of val<br />

Decimal logarithm of val<br />

Returns the maximum of val1 to valn. There is no limit to the<br />

number of values that can be specified.<br />

Returns the minimum of val1 to valn. There is no limit to the<br />

number of values that can be specified.<br />

Modulo operator. Floating-point remainder value function of<br />

dividing x by y. Returns the value x − i × y, where i is the quotient<br />

of x / y, rounded towards zero to an integer. An error is returned if<br />

y is 0.<br />

Returns 1 if value = offset + k×step where k is an integer value.<br />

Otherwise it returns 0. Default value of offset is 0.0.<br />

Returns the value of val1 to the power of the integer part of val2<br />

Returns the absolute value of val1, raised to the power of val2,<br />

with the sign of val1<br />

Generates an interpolated output value from an input value xvalue,<br />

provided as the first argument, using a PWL table described as a<br />

series of x, y points passed as arguments to the function. interp=0|1<br />

specifies whether the y value is interpolated linearly (1) or not (0).<br />

xn and yn are used to calculate the equivalent output value.<br />

Generates an interpolated output value from an input value xvalue,<br />

provided as the first argument, using a PWL table described as a<br />

series of x, y points passed as arguments to the function. interp=0|1<br />

specifies whether the y value is interpolated linearly (1) or not (0).<br />

xn and yn are used to calculate the equivalent output value. This<br />

function will return y1 if the x value < x1, and will return yn if the<br />

x value > xn.<br />

110<br />

Eldo® User's Manual, 15.3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!