Searched refs:atan (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-10-stable/contrib/netbsd-tests/lib/libm/
H A Dt_atan.c56 * atan(3)
58 ATF_LIBM_TEST(atan_nan, "Test atan/atanf(NaN) == NaN")
61 T_LIBM_CHECK_NAN(0, atan, T_LIBM_NAN);
68 ATF_LIBM_TEST(atan_inrange, "Test atan/atanf(x) for some values")
73 T_LIBM_CHECK(i, atan, values[i].x, values[i].y, 1.0e-15);
78 ATF_LIBM_TEST(atan_zero_neg, "Test atan/atanf(-0.0) == -0.0")
81 T_LIBM_CHECK_MINUS_ZERO(0, atan, -0.0);
85 ATF_LIBM_TEST(atan_zero_pos, "Test atan/atanf(+0.0) == +0.0")
88 T_LIBM_CHECK_PLUS_ZERO(0, atan, +0.0);
/freebsd-10-stable/lib/msun/tests/
H A Dinvtrig_test.c124 * Test special case inputs in asin(), acos() and atan(): signed
133 testall(atan, 0.0, 0.0, 0);
136 testall(atan, -0.0, -0.0, 0);
140 testall(atan, INFINITY, pi / 2, FE_INEXACT);
143 testall(atan, -INFINITY, -pi / 2, FE_INEXACT);
147 testall(atan, NAN, NAN, 0);
237 * Test various inputs to asin(), acos() and atan() and verify that the
247 testall(atan, 1.0, pi / 4, FE_INEXACT);
250 testall(atan, -1.0, -pi / 4, FE_INEXACT);
265 testall_tol(atan, sqrt
[all...]
H A Dinvctrig_test.c303 testall_tol(catan, z, CMPLXL(atan(nums[i]), 0), 1);
316 * atan(z) = atan(4)/2 + i ln(17/9)/4
/freebsd-10-stable/lib/msun/src/
H A De_atan2.c74 if((hx-0x3ff00000|lx)==0) return atan(y); /* x=1.0 */
81 case 1: return y; /* atan(+-0,+anything)=+-0 */
82 case 2: return pi+tiny;/* atan(+0,-anything) = pi */
83 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */
93 case 0: return pi_o_4+tiny;/* atan(+INF,+INF) */
94 case 1: return -pi_o_4-tiny;/* atan(-INF,+INF) */
95 case 2: return 3.0*pi_o_4+tiny;/*atan(+INF,-INF)*/
96 case 3: return -3.0*pi_o_4-tiny;/*atan(-INF,-INF)*/
100 case 0: return zero ; /* atan(+...,+INF) */
101 case 1: return -zero ; /* atan(
[all...]
H A Ds_atan.c16 /* atan(x)
18 * 1. Reduce x to positive by atan(x) = -atan(-x).
23 * [0,7/16] atan(x) = t-t^3*(a1+t^2*(a2+...(a10+t^2*a11)...)
24 * [7/16,11/16] atan(x) = atan(1/2) + atan( (t-0.5)/(1+t/2) )
25 * [11/16.19/16] atan(x) = atan( 1 ) + atan( (
74 atan(double x) function
[all...]
H A Dmath.h244 double atan(double);
H A Dcatrig.c580 /* To ensure the same accuracy as atan(), and to filter out z = 0. */
582 return (CMPLX(x, atan(y)));
/freebsd-10-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h38 using std::atan;
/freebsd-10-stable/contrib/libstdc++/libmath/
H A Dstubs.c92 return (float) atan(x);
100 return atan ((double) x);
/freebsd-10-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h48 #undef atan macro
/freebsd-10-stable/contrib/ntp/clockstuff/
H A Dpropdelay.c62 extern double atan (double);
416 delta = atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2)) - theta;
439 phi = (PI/2.0) - atan((h / (EARTHRADIUS * sin(theta))) + tan(theta/2));
/freebsd-10-stable/contrib/libstdc++/include/tr1/
H A Dmath.h45 using std::tr1::atan;
/freebsd-10-stable/contrib/gcc/
H A Dfp-test.c46 extern double atan (double);
230 d1 = atan (d2);
/freebsd-10-stable/contrib/libstdc++/include/c_std/
H A Dstd_cmath.h61 #undef atan macro
132 using ::atan;
135 atan(float __x) function
139 atan(long double __x) function
145 atan(_Tp __x) function
/freebsd-10-stable/lib/msun/
H A DSymbol.map63 atan;
H A DMakefile135 MAN= acos.3 acosh.3 asin.3 asinh.3 atan.3 atan2.3 atanh.3 \
150 MLINKS+=atan.3 atanf.3 atan.3 atanl.3
/freebsd-10-stable/tools/regression/include/tgmath/
H A Dtgmath.c80 TGMACRO(atan)
417 PRINT("atan",
418 PASS_REAL_ARG_REAL_RET(atan) &&
419 PASS_COMPLEX_ARG_COMPLEX_RET(atan));
/freebsd-10-stable/include/
H A Dtgmath.h143 #define atan(x) __tg_full(x, atan) macro
/freebsd-10-stable/usr.bin/xlint/llib/
H A Dllib-lstdc98 double (atan)(double x);
H A Dllib-lposix76 double (atan)(double x);
/freebsd-10-stable/contrib/libstdc++/src/
H A Dcompatibility.cc426 _GLIBCXX_MATHL_WRAPPER1 (atan, GLIBCXX_3.4.3);
/freebsd-10-stable/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h116 /// double atan(double x);
117 atan, enumerator in enum:llvm::LibFunc::Func
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h121 // atan
129 __tg_atan(double __x) {return atan(__x);}
147 #undef atan macro
148 #define atan(__x) __tg_atan(__tg_promote1((__x))(__x)) macro
/freebsd-10-stable/usr.bin/calendar/
H A Dsunpos.c52 #define ATAN(x) (R2D(atan(x)))
/freebsd-10-stable/contrib/libstdc++/include/bits/
H A Dvalarray_before.h127 { return atan(__t); }

Completed in 157 milliseconds

12