30.10.2014 Views

o_195h4n6al16jb186b1b2qs7fgssa.pdf

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

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

Include: <br />

Prototype: double atan2 (double y, double x);<br />

Arguments: y y value for which to return the arc tangent<br />

x x value for which to return the arc tangent<br />

Return Value: Returns the arc tangent inradians in the range of-pi to pi<br />

(inclusive)<br />

with the quadrant determined by the signs of both parameters.<br />

Remarks: A domain error occurs if both xand yare zero or both xand yare<br />

+/- infinity.<br />

Example: #include /* for atan2 */<br />

#include /* for printf, perror */<br />

#include /* for errno */<br />

int main(void)<br />

{<br />

double x, y, z;<br />

dsPIC<br />

®<br />

Language Tools Libraries<br />

nổi y;<br />

int i;<br />

for (i = 0; i

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

Saved successfully!

Ooh no, something went wrong!