/third_party/jerryscript/tools/unit-tests/ |
H A D | gen-test-libm.c | 118 /* atan tests*/ in main() 119 GEN_DBL_TEST (atan (0.0)); in main() 120 GEN_DBL_TEST (atan (-0.0)); in main() 121 GEN_DBL_TEST (atan (7.0 / 16.0)); in main() 122 GEN_DBL_TEST (atan (-7.0 / 16.0)); in main() 123 GEN_DBL_TEST (atan (11.0 / 16.0)); in main() 124 GEN_DBL_TEST (atan (-11.0 / 16.0)); in main() 125 GEN_DBL_TEST (atan (19.0 / 16.0)); in main() 126 GEN_DBL_TEST (atan (-19.0 / 16.0)); in main() 127 GEN_DBL_TEST (atan (39. in main() [all...] |
/third_party/musl/src/math/i386/ |
H A D | atan.s | 1 .global atan 2 .type atan,@function 3 atan: label
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
H A D | atan2.c | 56 return atan(y); in atan2() 65 case 1: return y; /* atan(+-0,+anything)=+-0 */ in atan2() 66 case 2: return pi; /* atan(+0,-anything) = pi */ in atan2() 67 case 3: return -pi; /* atan(-0,-anything) =-pi */ in atan2() 77 case 0: return pi/4; /* atan(+INF,+INF) */ in atan2() 78 case 1: return -pi/4; /* atan(-INF,+INF) */ in atan2() 79 case 2: return 3*pi/4; /* atan(+INF,-INF) */ in atan2() 80 case 3: return -3*pi/4; /* atan(-INF,-INF) */ in atan2() 84 case 0: return 0.0; /* atan(+...,+INF) */ in atan2() 85 case 1: return -0.0; /* atan( in atan2() [all...] |
H A D | atan.c | 12 /* atan(x) 14 * 1. Reduce x to positive by atan(x) = -atan(-x). 19 * [0,7/16] atan(x) = t-t^3*(a1+t^2*(a2+...(a10+t^2*a11)...) 20 * [7/16,11/16] atan(x) = atan(1/2) + atan( (t-0.5)/(1+t/2) ) 21 * [11/16.19/16] atan(x) = atan( 1 ) + atan( ( 63 double atan(double x) atan() function [all...] |
/third_party/musl/src/math/ |
H A D | atan2.c | 56 return atan(y); in atan2() 65 case 1: return y; /* atan(+-0,+anything)=+-0 */ in atan2() 66 case 2: return pi; /* atan(+0,-anything) = pi */ in atan2() 67 case 3: return -pi; /* atan(-0,-anything) =-pi */ in atan2() 77 case 0: return pi/4; /* atan(+INF,+INF) */ in atan2() 78 case 1: return -pi/4; /* atan(-INF,+INF) */ in atan2() 79 case 2: return 3*pi/4; /* atan(+INF,-INF) */ in atan2() 80 case 3: return -3*pi/4; /* atan(-INF,-INF) */ in atan2() 84 case 0: return 0.0; /* atan(+...,+INF) */ in atan2() 85 case 1: return -0.0; /* atan( in atan2() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/math/math_gtest/ |
H A D | math_atan_test.cpp | 17 * @tc.desc: Obtain test data in sequence and check if it is within the expected error range of the atan interface. 24 bool testResult = DoubleUlpCmp(g_atanData[i].expected, atan(g_atanData[i].input), 1); in HWTEST_F() 31 * @tc.desc: When the parameter of atan is valid, test the return value of the function. 36 EXPECT_DOUBLE_EQ(0.0, atan(0.0)); in HWTEST_F()
|
/third_party/pulseaudio/speex/libspeexdsp/ |
H A D | vorbis_psy.h | 54 #define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n))
|
H A D | filterbank.c | 49 #define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n))
|
/third_party/jerryscript/jerry-libm/ |
H A D | atan2.c | 83 return atan (y); in atan2() 95 return y; /* atan(+-0,+anything) = +-0 */ in atan2() 99 return pi + tiny; /* atan(+0,-anything) = pi */ in atan2() 103 return -pi - tiny; /* atan(-0,-anything) = -pi */ in atan2() 120 case 0: /* atan(+INF,+INF) */ in atan2() 124 case 1: /* atan(-INF,+INF) */ in atan2() 128 case 2: /* atan(+INF,-INF) */ in atan2() 132 case 3: /* atan(-INF,-INF) */ in atan2() 142 case 0: /* atan(+...,+INF) */ in atan2() 146 case 1: /* atan( in atan2() [all...] |
H A D | jerry-libm-internal.h | 85 double atan (double x);
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
H A D | compatibility.hpp | 52 template <typename T, precision P> GLM_FUNC_QUALIFIER T atan2(T x, T y){return atan(x, y);} //!< \brief Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility) in atan2() 53 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec2<T, P> atan2(const tvec2<T, P>& x, const tvec2<T, P>& y){return atan(x, y);} //!< \brief Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility) in atan2() 54 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec3<T, P> atan2(const tvec3<T, P>& x, const tvec3<T, P>& y){return atan(x, y);} //!< \brief Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility) in atan2() 55 template <typename T, precision P> GLM_FUNC_QUALIFIER tvec4<T, P> atan2(const tvec4<T, P>& x, const tvec4<T, P>& y){return atan(x, y);} //!< \brief Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility) in atan2()
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/detail/ |
H A D | func_trigonometric.hpp | 102 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> 105 GLM_FUNC_DECL vecType<T, P> atan(vecType<T, P> const & y, vecType<T, P> const & x); 112 /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/atan.xml">GLSL atan man page</a> 115 GLM_FUNC_DECL vecType<T, P> atan(vecType<T, P> const & y_over_x);
|
/third_party/musl/libc-test/src/api/ |
H A D | tgmath.c | 26 #ifdef atan in f() 27 {double r = atan(x);} in f() 29 #error no atan(x) in f()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_asupercut.c | 147 theta = 2. * atan(tan(theta_0 / 2.) / W); in get_coeffs() 149 theta = 2. * atan(W * tan(theta_0 / 2.)); in get_coeffs() 181 theta = 2. * atan(tan(theta_0 / 2.) / W); in get_coeffs() 183 theta = 2. * atan(W * tan(theta_0 / 2.)); in get_coeffs()
|
H A D | af_stereotools.c | 128 s->inv_atan_shape = 1.0 / atan(s->sc_level); in config_input() 204 R = s->inv_atan_shape * atan(R * sc_level); in filter_frame() 205 L = s->inv_atan_shape * atan(L * sc_level); in filter_frame()
|
/third_party/ltp/testcases/misc/math/float/ |
H A D | float_trigo.c | 33 {FUNC_NORMAL, 50, atan, "atan", "datan", "ratan",
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | cordic.py | 17 angle = math.atan(x) # arctangent
|
/third_party/skia/demos.skia.org/demos/textedit/ |
H A D | spiralshader.js | 20 float angle = atan(pp.y / pp.x);
|
/third_party/jerryscript/jerry-libm/include/ |
H A D | math.h | 56 double atan (double);
|
/third_party/node/deps/v8/src/base/ |
H A D | ieee754.h | 30 V8_BASE_EXPORT double atan(double x);
|
/third_party/jerryscript/tests/jerry/ |
H A D | regression-test-issue-786.js | 19 try { Math.round(Math.atan) } catch (err) { }
|
/third_party/musl/libc-test/src/math/ |
H A D | atan.c | 6 #include "crlibm/atan.h" 7 #include "ucb/atan.h" 8 #include "sanity/atan.h" 9 #include "special/atan.h" 28 y = atan(p->x); in main() 32 printf("%s:%d: bad fp exception: %s atan(%a)=%a, want %s", in main() 39 printf("%s:%d: %s atan(%a) want %a got %a ulperr %.3f = %a + %a\n", in main()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | tgmath.h | 150 #undef atan macro 213 #define atan(x) __tg_real_complex(atan, (x)) macro
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | tgmath.h | 150 #undef atan macro 213 #define atan(x) __tg_real_complex(atan, (x)) macro
|
/third_party/musl/include/ |
H A D | tgmath.h | 150 #undef atan macro 213 #define atan(x) __tg_real_complex(atan, (x)) macro
|