IBM Release 1.93 manual ATAN2, Ceil, Cos, Elintk, ELINTK1, Erf, Exp, Floor, Format

Models: Release 1.93

1 93
Download 93 pages 50.46 Kb
Page 49
Image 49
3.8.10. ATAN2

3.8.10. ATAN2

Returns the radian angle in (-π, π] whose tangent is <sine_expression>/<cosine_expression>, and which is in the correct quadrant.

Syntax: atan2(<sine_expression>, <cosine_expression>)

3.8.11. CEIL

Returns the smallest integer that is at least as large as the argument (i.e., round towards +∞). More useful than integer truncation, since it Does The Right Thing with negative arguments.

Syntax: ceil(<expression>)

3.8.12. COS

Returns the cosine of radian argument <expression>.

Syntax: cos(<expression>)

3.8.13. ELINTK

Complete elliptic integral of the first kind. Used in computation of bowtie antenna feed impedances. See Abramowitz & Stegun

Syntax: elintk(<expression>)

3.8.14. ELINTK1

Complete elliptic integral of the first kind, of complementary argument. Used in computation of bowtie antenna feed impedances

Syntax: elintk1(<expression>)

3.8.15. ERF

Error function,

. erf(-∞) = -1.0, erf(0)=0 & erf(∞) = 1.0.

Syntax: erf(<expression>)

 

3.8.16. EXP

Exponential ex.

Syntax: exp(<expression>)

3.8.17. FLOOR

Returns the largest integer that is not greater than the argument (i.e., round towards -∞). More useful than integer truncation, since it Does The Right Thing with negative arguments.

Syntax: floor(<expression>)

3.8.18. FORMAT

REXX formatted print function. See a REXX manual for full details. Syntax: format(<expression>,nleft,nright,exptol,nexp) nleft=number of places to the left of the decimal

45

Page 49
Image 49
IBM Release 1.93 ATAN2, Ceil, Cos, Elintk, ELINTK1, Erf, Exp, Floor, Format, Syntax atan2sineexpression, cosineexpression