Home
last modified time | relevance | path

Searched refs:tan (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/third_party/skia/resources/sksl/intrinsics/
DTan.sksl6 return (tan(inputVal.x) == expected.x &&
7 tan(inputVal.xy) == expected.xy &&
8 tan(inputVal.xyz) == expected.xyz &&
9 tan(inputVal.xyzw) == expected.xyzw &&
10 tan(constVal.x) == expected.x &&
11 tan(constVal.xy) == expected.xy &&
12 tan(constVal.xyz) == expected.xyz &&
13 tan(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h732 check_double ("tan (0.0)", tan (0.0), 0.00000000000000000000E+00);
733 check_double ("tan (-0.0)", tan (-0.0), -0.00000000000000000000E+00);
734 check_double ("tan (1.0)", tan (1.0), 1.55740772465490229237E+00);
735 check_double ("tan (-1.0)", tan (-1.0), -1.55740772465490229237E+00);
736 check_double ("tan (INFINITY)", tan (INFINITY), -NAN);
737 check_double ("tan (-INFINITY)", tan (-INFINITY), -NAN);
738 check_double ("tan (NAN)", tan (NAN), NAN);
739 check_double ("tan (M_PI)", tan (M_PI), -1.22464679914735320717E-16);
740 check_double ("tan (-M_PI)", tan (-M_PI), 1.22464679914735320717E-16);
741 check_double ("tan (2.0 * M_PI)", tan (2.0 * M_PI), -2.44929359829470641435E-16);
[all …]
/third_party/jerryscript/tools/unit-tests/
Dgen-test-libm.c931 GEN_DBL_TEST (tan (0.0)); in main()
932 GEN_DBL_TEST (tan (-0.0)); in main()
933 GEN_DBL_TEST (tan (1.0)); in main()
934 GEN_DBL_TEST (tan (-1.0)); in main()
935 GEN_DBL_TEST (tan (INFINITY)); in main()
936 GEN_DBL_TEST (tan (-INFINITY)); in main()
937 GEN_DBL_TEST (tan (NAN)); in main()
938 GEN_DBL_TEST (tan (M_PI)); in main()
939 GEN_DBL_TEST (tan (-M_PI)); in main()
940 GEN_DBL_TEST (tan (2.0 * M_PI)); in main()
[all …]
/third_party/skia/samplecode/
DSampleQuadStroker.cpp320 SkPoint pos, tan; in draw_ribs() local
323 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
324 tan.scale(radius); in draw_ribs()
325 SkPointPriv::RotateCCW(&tan); in draw_ribs()
326 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_ribs()
327 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_ribs()
334 pos.x() - tan.x() * 1.25f, pos.y() - tan.y() * 1.25f, font, labelP); in draw_ribs()
360 SkPoint pos, tan; in draw_t_divs() local
365 tan = pts[1] - pts[0]; in draw_t_divs()
367 pos.fX += tan.fX * t; in draw_t_divs()
[all …]
/third_party/flutter/skia/gm/
Ddrawatlas.cpp155 SkVector tan; local
156 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
158 tan.set(1, 0);
160 pos += SkVector::Make(-tan.fY, tan.fX) * baseline_offset;
162 xform[i].fSCos = tan.x();
163 xform[i].fSSin = tan.y();
164 xform[i].fTx = pos.x() - tan.y() * xy[i].y() - tan.x() * offset;
165 xform[i].fTy = pos.y() + tan.x() * xy[i].y() - tan.y() * offset;
Doverstroke.cpp102 SkVector tan; in ribs_path() local
104 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
105 tan.scale(radius); in ribs_path()
106 SkPointPriv::RotateCCW(&tan); in ribs_path()
108 ribs.moveTo(pos.x() + tan.x(), pos.y() + tan.y()); in ribs_path()
109 ribs.lineTo(pos.x() - tan.x(), pos.y() - tan.y()); in ribs_path()
/third_party/python/Lib/test/
Dieee754.txt149 >>> tan(INF)
153 >>> tan(NINF)
157 >>> tan(NAN)
160 Neither pi nor tan are exact, but you can assume that tan(pi/2) is a large value
161 and tan(pi) is a very small value:
162 >>> tan(PI/2) > 1E10
164 >>> -tan(-PI/2) > 1E10
166 >>> tan(PI) < 1E-15
Dcmath_testcases.txt1586 -- Similarly, for cos, sin and tan we limit tests to arguments
2255 -- tan: Tangent --
2259 tan0000 tan 0.0 0.0 -> 0.0 0.0
2260 tan0001 tan 0.0 -0.0 -> 0.0 -0.0
2261 tan0002 tan -0.0 0.0 -> -0.0 0.0
2262 tan0003 tan -0.0 -0.0 -> -0.0 -0.0
2265 tan0004 tan -0.56378561833861074 -1.7110276237187664e+73 -> -0.0 -1.0
2266 tan0005 tan -3.5451633993471915e-12 -2.855471863564059 -> -4.6622441304889575e-14 -0.99340273843093…
2267 tan0006 tan -2.502442719638696 -0.26742234390504221 -> 0.66735215252994995 -0.39078997935420956
2268 tan0007 tan -0.87639597720371365 -55.586225523280206 -> -1.0285264565948176e-48 -1.0
[all …]
/third_party/flutter/skia/samplecode/
DSampleQuadStroker.cpp327 SkPoint pos, tan; in draw_ribs() local
330 if (meas.getPosTan(dist, &pos, &tan)) { in draw_ribs()
331 tan.scale(radius); in draw_ribs()
332 SkPointPriv::RotateCCW(&tan); in draw_ribs()
333 canvas->drawLine(pos.x() + tan.x(), pos.y() + tan.y(), in draw_ribs()
334 pos.x() - tan.x(), pos.y() - tan.y(), paint); in draw_ribs()
341 pos.x() - tan.x() * 1.25f, pos.y() - tan.y() * 1.25f, font, labelP); in draw_ribs()
367 SkPoint pos, tan; in draw_t_divs() local
372 tan = pts[1] - pts[0]; in draw_t_divs()
374 pos.fX += tan.fX * t; in draw_t_divs()
[all …]
/third_party/skia/gm/
Doverstroke.cpp92 SkVector tan; in ribs_path() local
94 if (meas.getPosTan(accum, &pos, &tan)) { in ribs_path()
95 tan.scale(radius); in ribs_path()
96 SkPointPriv::RotateCCW(&tan); in ribs_path()
98 ribs.moveTo(pos.x() + tan.x(), pos.y() + tan.y()); in ribs_path()
99 ribs.lineTo(pos.x() - tan.x(), pos.y() - tan.y()); in ribs_path()
Ddrawatlas.cpp157 SkVector tan; local
158 if (!meas.getPosTan(xy[i].x() + offset, &pos, &tan)) {
160 tan.set(1, 0);
162 pos += SkVector::Make(-tan.fY, tan.fX) * baseline_offset;
164 xform[i].fSCos = tan.x();
165 xform[i].fSSin = tan.y();
166 xform[i].fTx = pos.x() - tan.y() * xy[i].y() - tan.x() * offset;
167 xform[i].fTy = pos.y() + tan.x() * xy[i].y() - tan.y() * offset;
/third_party/skia/tests/sksl/intrinsics/
DTan.glsl8 …return ((((((tan(inputVal.x) == expected.x && tan(inputVal.xy) == expected.xy) && tan(inputVal.xyz…
DTan.metal18tan(_uniforms.inputVal.x) == _uniforms.expected.x && all(tan(_uniforms.inputVal.xy) == _uniforms.e…
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath_measure.cc82 SkVector tan; in getPosTan() local
83 bool success = measures_[contourIndex]->getPosTan(distance, &pos, &tan); in getPosTan()
89 posTan[3] = tan.x(); in getPosTan()
90 posTan[4] = tan.y(); in getPosTan()
/third_party/glslang/Test/
Dspv.switch.frag59 f = tan(x);
69 f += tan(x);
96 f += tan(x);
114 f += tan(x);
Dswitch.frag44 f = tan(x);
62 f = tan(x);
86 f = tan(x);
113 f = tan(x);
/third_party/skia/modules/skottie/src/animator/
DVec2KeyframeAnimator.cpp85 SkVector tan; in onSeek() local
86 if (v0.cmeasure->getPosTan(lerp_info.weight * v0.cmeasure->length(), &pos, &tan)) { in onSeek()
87 return this->update({ pos.fX, pos.fY }, {tan.fX, tan.fY}); in onSeek()
92 const auto tan = v1.v2 - v0.v2; in onSeek() local
94 return this->update(Lerp(v0.v2, v1.v2, lerp_info.weight), tan); in onSeek()
/third_party/ffmpeg/libavfilter/
Daf_asupercut.c93 double K = tan(M_PI * w0); in get_coeffs()
107 double omega = 2. * tan(M_PI * w0); in get_coeffs()
134 double omega = 2. * tan(M_PI * w0); in get_coeffs()
160 d_E = (2. * tan(theta_0 / (2. * s->qfactor))) / sin(theta_0); in get_coeffs()
173 theta = 2. * atan(tan(theta_0 / 2.) / W); in get_coeffs()
175 theta = 2. * atan(W * tan(theta_0 / 2.)); in get_coeffs()
194 d_E = (2. * tan(theta_0 / (2. * s->qfactor))) / sin(theta_0); in get_coeffs()
207 theta = 2. * atan(tan(theta_0 / 2.) / W); in get_coeffs()
209 theta = 2. * atan(W * tan(theta_0 / 2.)); in get_coeffs()
/third_party/skia/third_party/externals/tint/test/intrinsics/gen/tan/
D2f030e.wgsl.expected.glsl5 float res = tan(1.0f);
35 float res = tan(1.0f);
55 float res = tan(1.0f);
D8ce3e9.wgsl.expected.glsl5 vec2 res = tan(vec2(0.0f, 0.0f));
35 vec2 res = tan(vec2(0.0f, 0.0f));
55 vec2 res = tan(vec2(0.0f, 0.0f));
D7ea104.wgsl.expected.glsl5 vec3 res = tan(vec3(0.0f, 0.0f, 0.0f));
35 vec3 res = tan(vec3(0.0f, 0.0f, 0.0f));
55 vec3 res = tan(vec3(0.0f, 0.0f, 0.0f));
D244e2a.wgsl.expected.glsl5 vec4 res = tan(vec4(0.0f, 0.0f, 0.0f, 0.0f));
35 vec4 res = tan(vec4(0.0f, 0.0f, 0.0f, 0.0f));
55 vec4 res = tan(vec4(0.0f, 0.0f, 0.0f, 0.0f));
/third_party/skia/third_party/externals/icu/source/data/zone/
Dsu.txt18 ld{"Waktu Usum Panas Wétan"}
19 lg{"Waktu Wétan"}
20 ls{"Waktu Standar Wétan"}
/third_party/icu/icu4c/source/data/zone/
Dsu.txt18 ld{"Waktu Usum Panas Wétan"}
19 lg{"Waktu Wétan"}
20 ls{"Waktu Standar Wétan"}
/third_party/flutter/skia/third_party/externals/sdl/src/libm/
Ds_tan.c45 double tan(double x) in tan() function
67 libm_hidden_def(tan)

12345678910>>...20