/third_party/optimized-routines/math/test/testcases/directed/ |
D | cosf.tst | 1 ; cosf.tst - Directed test cases for SP cosine 6 func=cosf op1=7fc00001 result=7fc00001 errno=0 7 func=cosf op1=ffc00001 result=7fc00001 errno=0 8 func=cosf op1=7f800001 result=7fc00001 errno=0 status=i 9 func=cosf op1=ff800001 result=7fc00001 errno=0 status=i 10 func=cosf op1=7f800000 result=7fc00001 errno=EDOM status=i 11 func=cosf op1=ff800000 result=7fc00001 errno=EDOM status=i 12 func=cosf op1=00000000 result=3f800000 errno=0 13 func=cosf op1=80000000 result=3f800000 errno=0 14 ; SDCOMP-26094: check cosf in the cases for which the range reducer [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | af_surround.c | 334 *y = av_clipf(cosf(a) * r, -1, 1); in stereo_transform() 342 *y = av_clipf(cosf(a*M_PI_2+M_PI)*cosf(M_PI_2-p/M_PI)*M_LN10+1, -1, 1); in stereo_position() 349 *lfe_mag = n < lowcut ? 1.f : .5f*(1.f+cosf(M_PI*(lowcut-n)/(lowcut-highcut))); in get_lfe() 373 dst[2 * n ] = mag * cosf(c_phase); in upmix_1_0() 394 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_stereo() 397 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_stereo() 421 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_2_1() 424 dstr[2 * n ] = r_mag * cosf(r_phase); in upmix_2_1() 427 dstlfe[2 * n ] = lfe_mag * cosf(c_phase); in upmix_2_1() 450 dstl[2 * n ] = l_mag * cosf(l_phase); in upmix_3_0() [all …]
|
D | vsrc_gradients.c | 268 s->fx0 = (s->x0 - w2) * cosf(angle) - (s->y0 - h2) * sinf(angle) + w2; in activate() 269 s->fy0 = (s->x0 - w2) * sinf(angle) + (s->y0 - h2) * cosf(angle) + h2; in activate() 271 s->fx1 = (s->x1 - w2) * cosf(angle) - (s->y1 - h2) * sinf(angle) + w2; in activate() 272 s->fy1 = (s->x1 - w2) * sinf(angle) + (s->y1 - h2) * cosf(angle) + h2; in activate()
|
D | vf_v360.c | 1143 theta_threshold = atanf(cosf(phi_norm)); in xyz_to_cube() 1749 const float cos_phi = cosf(phi); in equirect_to_xyz() 1751 const float cos_theta = cosf(theta); in equirect_to_xyz() 1778 const float cos_phi = cosf(phi); in hequirect_to_xyz() 1780 const float cos_theta = cosf(theta); in hequirect_to_xyz() 1828 vec[2] = cosf(theta); in stereographic_to_xyz() 1934 vec[2] = cosf(theta); in equisolid_to_xyz() 2039 vec[2] = cosf(theta); in orthographic_to_xyz() 2305 const float cos_phi = cosf(phi); in mercator_to_xyz() 2445 const float z = sqrtf(1.f + sqrtf(1.f - vec[1] * vec[1]) * cosf(theta * 0.5f)); in xyz_to_hammer() [all …]
|
/third_party/musl/src/complex/ |
D | csinhf.c | 53 return CMPLXF(sinhf(x) * cosf(y), coshf(x) * sinf(y)); in csinhf() 59 return CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y)); in csinhf() 67 return CMPLXF(h * cosf(y), h * h * sinf(y)); in csinhf() 86 return CMPLXF(x * cosf(y), INFINITY * sinf(y)); in csinhf()
|
D | ccoshf.c | 53 return CMPLXF(coshf(x) * cosf(y), sinhf(x) * sinf(y)); in ccoshf() 59 return CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y)); in ccoshf() 67 return CMPLXF(h * h * cosf(y), h * sinf(y)); in ccoshf() 86 return CMPLXF((x * x) * cosf(y), x * sinf(y)); in ccoshf()
|
D | cexpf.c | 51 return CMPLXF(cosf(y), sinf(y)); in cexpf() 81 return CMPLXF(exp_x * cosf(y), exp_x * sinf(y)); in cexpf()
|
D | ctanhf.c | 49 return CMPLXF(x, copysignf(0, isinf(y) ? y : sinf(y) * cosf(y))); in ctanhf() 57 return CMPLXF(copysignf(1, x), 4 * sinf(y) * cosf(y) * exp_mx * exp_mx); in ctanhf()
|
/third_party/skia/gm/ |
D | mandoline.cpp | 173 mandoline.reset({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw() 175 {-cosf(SkDegreesToRadians(60)), sinf(SkDegreesToRadians(60))}, .5f); in onDraw() 176 mandoline.sliceConic({-cosf(SkDegreesToRadians(120))*2, sinf(SkDegreesToRadians(120))*2}, in onDraw() 179 mandoline.sliceLine({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw() 191 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2}, in onDraw() 192 {cosf(theta2), sinf(theta2)}); in onDraw()
|
D | batchedconvexpaths.cpp | 37 path.cubicTo(cosf(j/numPoints * k2PI), sinf(j/numPoints * k2PI), in onDraw() 38 cosf((j+1)/numPoints * k2PI), sinf((j+1)/numPoints * k2PI), in onDraw() 39 j+2 == numPoints ? 1 : cosf((j+2)/numPoints * k2PI), in onDraw()
|
D | largeclippedpath.cpp | 36 flower.quadTo(cosf(c)*2, sinf(c)*2, cosf(theta), sinf(theta)); in draw_clipped_flower()
|
/third_party/flutter/skia/gm/ |
D | mandoline.cpp | 173 mandoline.reset({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw() 175 {-cosf(SkDegreesToRadians(60)), sinf(SkDegreesToRadians(60))}, .5f); in onDraw() 176 mandoline.sliceConic({-cosf(SkDegreesToRadians(120))*2, sinf(SkDegreesToRadians(120))*2}, in onDraw() 179 mandoline.sliceLine({-cosf(SkDegreesToRadians(-60)), sinf(SkDegreesToRadians(-60))}); in onDraw() 191 mandoline.sliceQuadratic({cosf(theta1)*2, sinf(theta1)*2}, in onDraw() 192 {cosf(theta2), sinf(theta2)}); in onDraw()
|
/third_party/optimized-routines/math/test/ |
D | runulp.sh | 111 t cosf 0 0xffff0000 10000 112 t cosf 0x1p-14 0x1p54 50000 113 t cosf -0x1p-14 -0x1p54 50000 301 cosf __s_cosf $runs 302 cosf __v_cosf $runv 303 cosf __vn_cosf $runvn 304 cosf _ZGVnN4v_cosf $runvn
|
D | mathbench.c | 273 F (cosf, 0.1, 0.7) 274 F (cosf, 0.8, 3.1) 275 F (cosf, -3.1, 3.1) 276 F (cosf, 3.3, 33.3) 277 F (cosf, 100, 1000) 278 F (cosf, 1e6, 1e32)
|
/third_party/skia/tests/ |
D | TriangulatingPathRendererTests.cpp | 987 .moveTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST() 988 .lineTo(cosf(SK_ScalarPI/3), sinf(SK_ScalarPI/3)) in DEF_TEST() 989 .lineTo(cosf(SK_ScalarPI), sinf(SK_ScalarPI)) in DEF_TEST() 990 .moveTo(cosf(0), sinf(0)) in DEF_TEST() 991 .lineTo(cosf(2*SK_ScalarPI/3), sinf(2*SK_ScalarPI/3)) in DEF_TEST() 992 .lineTo(cosf(-2*SK_ScalarPI/3), sinf(-2*SK_ScalarPI/3))); in DEF_TEST() 994 .moveTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST() 995 .lineTo(cosf(SK_ScalarPI/3), sinf(SK_ScalarPI/3)) in DEF_TEST() 996 .lineTo(cosf(SK_ScalarPI), sinf(SK_ScalarPI)) in DEF_TEST() 997 .lineTo(cosf(-SK_ScalarPI/3), sinf(-SK_ScalarPI/3)) in DEF_TEST() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | aacps_tablegen.h | 154 HA[iid][icc][0] = c2 * cosf(beta + alpha); in ps_tableinit() 155 HA[iid][icc][1] = c1 * cosf(beta - alpha); in ps_tableinit() 167 alpha_c = cosf(alpha); in ps_tableinit() 169 gamma_c = cosf(gamma); in ps_tableinit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
D | fractal.cpp | 53 0.5f + 0.5f * cosf(v + 0 * PI_2_THIRDS), in colorize() 54 0.5f + 0.5f * cosf(v + 1 * PI_2_THIRDS), in colorize() 55 0.5f + 0.5f * cosf(v + 2 * PI_2_THIRDS), in colorize()
|
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/analyzer/ |
D | RoundedManchesterEncoder.h | 41 float sample = -cosf(phase); in RoundedManchesterEncoder() 53 float sample = cosf(phase); in RoundedManchesterEncoder()
|
/third_party/optimized-routines/math/ |
D | v_cosf.c | 37 return v_call_f32 (cosf, x, y, cmp); in specialcase() 42 V_NAME(cosf) (v_f32_t x) in V_NAME() argument
|
/third_party/skia/modules/svg/src/ |
D | SkSVGFeLightSource.cpp | 19 const float sinAzimuth = sinf(azimuthRad), cosAzimuth = cosf(azimuthRad); in computeDirection() 20 const float sinElevation = sinf(elevationRad), cosElevation = cosf(elevationRad); in computeDirection()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | VecFuncs.def | 49 TLI_DEFINE_VECFUNC("cosf", "vcosf", 4) 113 TLI_DEFINE_VECFUNC("cosf", "__cosf4_massv", 4) 164 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf4", 4) 165 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf8", 8) 166 TLI_DEFINE_VECFUNC("cosf", "__svml_cosf16", 16)
|
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
D | torus.h | 45 float cosV = cosf(angleV); in GenerateTorus() 50 float cosU = cosf(angleU); in GenerateTorus()
|
/third_party/flutter/skia/third_party/externals/angle2/samples/particle_system/ |
D | ParticleSystem.cpp | 98 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize() 104 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
|
/third_party/skia/third_party/externals/angle2/samples/particle_system/ |
D | ParticleSystem.cpp | 99 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize() 105 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_test_arit.c | 302 WRAP(cosf) 308 #define cosf wrap_cosf macro 325 {"cos", &lp_build_cos, &cosf, sincos_values, ARRAY_SIZE(sincos_values), 20.0 },
|