Home
last modified time | relevance | path

Searched refs:atan2 (Results 1 – 25 of 119) sorted by relevance

12345

/openbsd/src/regress/lib/libm/msun/
Dinvtrig_test.c160 testall2(atan2, 0.0, -0.0, pi, FE_INEXACT); in ATF_TC_BODY()
161 testall2(atan2, -0.0, -0.0, -pi, FE_INEXACT); in ATF_TC_BODY()
162 testall2(atan2, 0.0, 0.0, 0.0, 0); in ATF_TC_BODY()
163 testall2(atan2, -0.0, 0.0, -0.0, 0); in ATF_TC_BODY()
165 testall2(atan2, INFINITY, -INFINITY, c3pi / 4, FE_INEXACT); in ATF_TC_BODY()
166 testall2(atan2, -INFINITY, -INFINITY, -c3pi / 4, FE_INEXACT); in ATF_TC_BODY()
167 testall2(atan2, INFINITY, INFINITY, pi / 4, FE_INEXACT); in ATF_TC_BODY()
168 testall2(atan2, -INFINITY, INFINITY, -pi / 4, FE_INEXACT); in ATF_TC_BODY()
183 test2(atan2, 0.0, ldexp(z, e), 0.0, 0); in ATF_TC_BODY()
184 test2(atan2, -0.0, ldexp(z, e), -0.0, 0); in ATF_TC_BODY()
[all …]
/openbsd/src/regress/lib/libm/cephes/
Dtestvect.c267 double atan2 (double, double);
282 {"atan2", atan2, &ZERO, &ONE, &ZERO, 0},
283 {"atan2", atan2, &MZERO, &ONE, &MZERO, 0},
284 {"atan2", atan2, &ZERO, &ZERO, &ZERO, 0},
285 {"atan2", atan2, &MZERO, &ZERO, &MZERO, 0},
286 {"atan2", atan2, &ZERO, &MONE, &PI, 0},
287 {"atan2", atan2, &MZERO, &MONE, &MPI, 0},
288 {"atan2", atan2, &ZERO, &MZERO, &PI, 0},
289 {"atan2", atan2, &MZERO, &MZERO, &MPI, 0},
290 {"atan2", atan2, &ONE, &ZERO, &PIO2, 0},
[all …]
/openbsd/src/lib/libm/arch/amd64/
De_atan2.S11 ENTRY(atan2)
12 RETGUARD_SETUP(atan2, r11)
18 RETGUARD_CHECK(atan2, r11)
20 END_STD(atan2)
/openbsd/src/lib/libm/src/
De_atan2.c54 atan2(double y, double x) in atan2() function
121 DEF_STD(atan2);
122 LDBL_MAYBE_CLONE(atan2);
Ds_carg.c25 return atan2 (__imag__ z, __real__ z); in carg()
Ds_clog.c70 rr = atan2 (cimag (z), creal (z)); in clog()
/openbsd/src/lib/libm/arch/i387/
De_atan2.S9 ENTRY(atan2)
14 END_STD(atan2)
/openbsd/src/regress/usr.bin/mandoc/mdoc/Fo/
Dbasic.out_markdown13 **atan2**(*double y*, *double x*);
20 **atan2**(*double y*, *double x*)
Dwarn.out_markdown13 **atan2**(*double y, double x*);
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/c_std/
Dstd_cmath.h60 #undef atan2
254 using ::atan2;
258 atan2(float __y, float __x) { return __gnu_cxx::__c99_binding::atan2f(__y, __x); } in atan2() function
261 atan2(float __y, float __x) in atan2() function
262 { return ::atan2(static_cast<double>(__y), static_cast<double>(__x)); } in atan2()
267 atan2(long double __y, long double __x) { return ::atan2l(__y, __x); } in atan2() function
270 atan2(long double __y, long double __x) in atan2() function
271 { return ::atan2(static_cast<double>(__y), static_cast<double>(__x)); } in atan2()
277 atan2(_Tp __x, _Up __y) in atan2() function
278 { return ::atan2(static_cast<double>(__x), static_cast<double>(__y)); } in atan2()
/openbsd/src/gnu/usr.bin/perl/t/op/
Dexp.t46 cmp_ok(round(atan2(1, 2)), '==', '0.463647609', "atan2(1, 2)");
109 cmp_ok(round(atan2($x1, $x2)), '==', '0.463647609', "atan2($x1, $x2)");
/openbsd/src/gnu/lib/libstdc++/libstdc++/libmath/
Dstubs.c41 return (float) atan2(x, y); in atan2f()
49 return atan2((double) x, (double) y); in atan2l()
/openbsd/src/gnu/llvm/clang/lib/Headers/
D__clang_cuda_math_forward_declares.h39 __DEVICE__ double atan2(double, double);
40 __DEVICE__ float atan2(float, float);
206 using ::atan2;
/openbsd/src/gnu/lib/libstdc++/libstdc++/testsuite/26_numerics/
Dvalarray_name_lookup.cc88 Number atan2(Number, Number);
140 w = atan2(u, v); in main()
Dcomplex_value.cc47 double d8 = atan2(c.imag(), c.real()); in test01()
/openbsd/src/gnu/usr.bin/perl/
Doverload.inc165 "(atan2", /* atan2 */
/openbsd/src/gnu/gcc/libstdc++-v3/include/c_std/
Dstd_cmath.h62 #undef atan2
148 using ::atan2;
151 atan2(float __y, float __x) in atan2() function
155 atan2(long double __y, long double __x) in atan2() function
162 atan2(_Tp __y, _Up __x) in atan2() function
/openbsd/src/gnu/llvm/clang/lib/Headers/openmp_wrappers/
Dcomplex_cmath.h41 return atan2(__c.imag(), __c.real()); in arg()
48 return atan2(0., __re); in arg()
175 const _Tp __pi(atan2(+0., -0.)); in asinh()
203 const _Tp __pi(atan2(+0., -0.)); in acosh()
236 const _Tp __pi(atan2(+0., -0.)); in atanh()
326 const _Tp __pi(atan2(+0., -0.)); in acos()
/openbsd/src/gnu/usr.bin/perl/dist/constant/t/
Dutf8.t14 use constant π => 4 * atan2 1, 1;
/openbsd/src/gnu/gcc/libstdc++-v3/libmath/
Dstubs.c109 return (float) atan2(x, y); in atan2f()
117 return atan2((double) x, (double) y); in atan2l()
/openbsd/src/games/atc/
Ddef.h55 #define DIR_FROM_DXDY(dx,dy) ((int) (atan2((double)(dy), (double)(dx)) \
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dfp-test.c47 extern double atan2 (double, double);
231 d1 = atan2 (d2, d3); in main()
/openbsd/src/games/trek/
Dphaser.c236 b->angle = atan2(dy, dx); in phaser()
348 anglefactor = atan2(dy, dx) - b->angle; in phaser()
/openbsd/src/gnu/gcc/gcc/
Dfp-test.c47 extern double atan2 (double, double);
231 d1 = atan2 (d2, d3); in main()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DVecFuncs.def84 TLI_DEFINE_VECFUNC("atan2", "_simd_atan2_d2", FIXED(2))
256 TLI_DEFINE_VECFUNC("atan2", "__atan2d2", FIXED(2))
480 TLI_DEFINE_VECFUNC( "atan2", "_ZGVnN2vv_atan2", FIXED(2))
481 TLI_DEFINE_VECFUNC( "llvm.atan2.f64", "_ZGVnN2vv_atan2", FIXED(2))
482 TLI_DEFINE_VECFUNC( "llvm.atan2.v2f64", "_ZGVnN2vv_atan2", FIXED(2))
551 TLI_DEFINE_VECFUNC( "llvm.atan2.f32", "_ZGVnN4vv_atan2f", FIXED(4))
552 TLI_DEFINE_VECFUNC( "llvm.atan2.v4f32", "_ZGVnN4vv_atan2f", FIXED(4))

12345