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 />

-compat Argument<br />

When the -compat argument is active, the following arithmetic function/operator rules apply:<br />

• log(x) = sign(x) × log(abs(x)).<br />

• log10(x) = sign(x) × log10(abs(x)).<br />

• db(x) = sign(x) × 20.0×log10×abs(x)).<br />

• sqrt(x) is −sqrt(abs(x)) if x is negative.<br />

• x**y is computed as x ψ if x is positive, x ΙΝΤ(ψ) if x is negative, and 0 if x is 0.<br />

• The power operator (^) has highest precedence (same as standard Eldo).<br />

Related Topics<br />

Operators<br />

Note<br />

In Eldo standard mode: sqrt(x) returns an error if x is negative; x**y is computed as<br />

exp(y×log(x)) if x is strictly positive, 0 if x is 0, and returns an error if x is negative.<br />

114<br />

Eldo® User's Manual, 15.3

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

Saved successfully!

Ooh no, something went wrong!