<!-- var kmNextPage = "c51_atof.htm"; var kmPrevPage = "c51_atan2.htm"; var kmNextPageTitle = "atof"; var kmPrevPageTitle = "atan2"; var kmBreadCrumbs = "<a href=\"default.htm\">Home</a> &raquo; <a href=\"c51_library.htm\">Library Reference</a> &raquo; <a href=\"c51_libref.htm\">Reference</a> &raquo; atan517"; kmSetupPaging (); kmNavButtons(); //--> atan517

 Summary ```#include <80c517.h> float atan517 ( float x); /* number to calculate arc tangent of */ ``` Description The atan517 function calculates the arc tangent of the floating-point number x. Note This routine uses the arithmetic unit of the Infineon C517x/C509 to provide accelerated execution speed. Do not use this routine with a CPU that does not support this feature. Return Value The atan517 function returns the arc tangent of x. For x ∈ (-∞, ∞), atan517(x) → (-π/2, π/2). For x = NaN, atan517(x) → NaN. For x = ±INF, atan517(x) → ±π/2. See Also Example ```#include <80c517.h> #include /* for printf */ void tst_atan (void) { float x; float y; for (x = -10.0; x <= 10.0; x += 0.1) { y = atan517 (x); printf ("ATAN517(%f) = %f\n", x, y); } } ```

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.