Home
last modified time | relevance | path

Searched refs:dbl (Results 1 – 25 of 298) sorted by relevance

12345678910>>...12

/third_party/jerryscript/jerry-libm/
Dpow.c231 ax.dbl = fabs (x); in pow()
237 z.dbl = ax.dbl; /* x is +-0,+-inf,+-1 */ in pow()
240 z.dbl = one / z.dbl; /* z = (1 / |x|) */ in pow()
246 z.dbl = NAN; /* (-1)**non-int is NaN */ in pow()
250 z.dbl = -z.dbl; /* (x<0)**odd = -(|x|**odd) */ in pow()
253 return z.dbl; in pow()
296 t.dbl = ax.dbl - one; /* t has 20 trailing zeros */ in pow()
297 w = (t.dbl * t.dbl) * (0.5 - t.dbl * (0.3333333333333333333333 - t.dbl * 0.25)); in pow()
298 u = ivln2_h * t.dbl; /* ivln2_h has 21 sig. bits */ in pow()
299 v = t.dbl * ivln2_l - w * ivln2; in pow()
[all …]
Dcbrt.c48 t.dbl = 0.0; in cbrt()
49 temp.dbl = x; in cbrt()
68 t.dbl *= temp.dbl; in cbrt()
77 r = t.dbl * t.dbl / temp.dbl; in cbrt()
78 s = C + r * t.dbl; in cbrt()
79 t.dbl *= G + F / (s + E + D / s); in cbrt()
86 s = t.dbl * t.dbl; /* t*t is exact */ in cbrt()
87 r = temp.dbl / s; in cbrt()
88 w = t.dbl + t.dbl; in cbrt()
89 r = (r - t.dbl) / (w + r); /* r-s is exact */ in cbrt()
[all …]
Dtrig.c495 z.dbl = x - pio2_1; in __ieee754_rem_pio2()
498 y[0] = z.dbl - pio2_1t; in __ieee754_rem_pio2()
499 y[1] = (z.dbl - y[0]) - pio2_1t; in __ieee754_rem_pio2()
503 z.dbl -= pio2_2; in __ieee754_rem_pio2()
504 y[0] = z.dbl - pio2_2t; in __ieee754_rem_pio2()
505 y[1] = (z.dbl - y[0]) - pio2_2t; in __ieee754_rem_pio2()
511 z.dbl = x + pio2_1; in __ieee754_rem_pio2()
514 y[0] = z.dbl + pio2_1t; in __ieee754_rem_pio2()
515 y[1] = (z.dbl - y[0]) + pio2_1t; in __ieee754_rem_pio2()
519 z.dbl += pio2_2; in __ieee754_rem_pio2()
[all …]
Dexpm1.c213 t.dbl = k; in expm1()
214 hi = x - t.dbl * ln2_hi; /* t*ln2_hi is exact here */ in expm1()
215 lo = t.dbl * ln2_lo; in expm1()
234 t.dbl = 3.0 - r1 * hfx; in expm1()
235 e = hxs * ((r1 - t.dbl) / (6.0 - x * t.dbl)); in expm1()
272 y = y * twopk.dbl; in expm1()
276 t.dbl = one; in expm1()
280 y = t.dbl - (e - x); in expm1()
281 y = y * twopk.dbl; in expm1()
286 y = x - (e + t.dbl); in expm1()
[all …]
Dasin.c106 w.dbl = p / q; in asin()
107 return x + x * w.dbl; in asin()
110 w.dbl = one - fabs (x); in asin()
111 t = w.dbl * 0.5; in asin()
117 w.dbl = p / q; in asin()
118 t = pio2_hi - (2.0 * (s + s * w.dbl) - pio2_lo); in asin()
122 w.dbl = s; in asin()
124 c = (t - w.dbl * w.dbl) / (s + w.dbl); in asin()
127 q = pio4_hi - 2.0 * w.dbl; in asin()
Datanh.c58 temp.dbl = x; in atanh()
81 t = temp.dbl + temp.dbl; in atanh()
82 t = 0.5 * log1p (t + t * temp.dbl / (one - temp.dbl)); in atanh()
86 t = 0.5 * log1p ((temp.dbl + temp.dbl) / (one - temp.dbl)); in atanh()
Datan2.c171 z.dbl = pi_o_2 + 0.5 * pi_lo; in atan2()
175 z.dbl = 0.0; in atan2()
179 z.dbl = atan (fabs (y / x)); in atan2()
185 return z.dbl; in atan2()
190 return z.dbl; in atan2()
194 return pi - (z.dbl - pi_lo); in atan2()
199 return (z.dbl - pi_lo) - pi; in atan2()
Dnextafter.c60 y = ret.dbl * ret.dbl; in nextafter()
61 if (y == ret.dbl) in nextafter()
67 return ret.dbl; /* raise underflow flag */ in nextafter()
128 return ret.dbl; in nextafter()
134 return ret.dbl; in nextafter()
Dlog1p.c161 u.dbl = 1.0 + x; in log1p()
164 c = (k > 0) ? 1.0 - (u.dbl - x) : x - (u.dbl - 1.0); /* correction term */ in log1p()
165 c /= u.dbl; in log1p()
169 u.dbl = x; in log1p()
193 f = u.dbl - 1.0; in log1p()
Dsqrt.c208 ret.dbl = one - tiny; /* trigger inexact flag */ in sqrt()
209 if (ret.dbl >= one) in sqrt()
211 ret.dbl = one + tiny; in sqrt()
217 else if (ret.dbl > one) in sqrt()
240 return ret.dbl; in sqrt()
Dscalbn.c74 ret.dbl = x; in scalbn()
76 return ret.dbl; in scalbn()
91 ret.dbl = x; in scalbn()
93 return ret.dbl * twom54; in scalbn()
/third_party/grpc/src/core/lib/debug/
Dstats_data.cc361 double dbl; in grpc_stats_inc_call_initial_size() member
364 _val.dbl = value; in grpc_stats_inc_call_initial_size()
368 _bkt.dbl = grpc_stats_table_0[bucket]; in grpc_stats_inc_call_initial_size()
384 double dbl; in grpc_stats_inc_poll_events_returned() member
387 _val.dbl = value; in grpc_stats_inc_poll_events_returned()
391 _bkt.dbl = grpc_stats_table_2[bucket]; in grpc_stats_inc_poll_events_returned()
407 double dbl; in grpc_stats_inc_tcp_write_size() member
410 _val.dbl = value; in grpc_stats_inc_tcp_write_size()
414 _bkt.dbl = grpc_stats_table_4[bucket]; in grpc_stats_inc_tcp_write_size()
430 double dbl; in grpc_stats_inc_tcp_write_iov_size() member
[all …]
/third_party/libffi/testsuite/libffi.call/
Dreturn_dbl.c10 static double return_dbl(double dbl) in return_dbl() argument
12 printf ("%f\n", dbl); in return_dbl()
13 return 2 * dbl; in return_dbl()
20 double dbl, rdbl; in main() local
23 values[0] = &dbl; in main()
29 for (dbl = -127.3; dbl < 127; dbl++) in main()
32 printf ("%f vs %f\n", rdbl, return_dbl(dbl)); in main()
33 CHECK(rdbl == 2 * dbl); in main()
/third_party/ffmpeg/libswresample/
Doptions.c58 …t center mix level" , OFFSET(clev ), AV_OPT_TYPE_FLOAT, {.dbl=C_30DB …
59 …t center mix level" , OFFSET(clev ), AV_OPT_TYPE_FLOAT, {.dbl=C_30DB …
60 …t surround mix level" , OFFSET(slev ), AV_OPT_TYPE_FLOAT, {.dbl=C_30DB …
61 …t surround mix Level" , OFFSET(slev ), AV_OPT_TYPE_FLOAT, {.dbl=C_30DB …
62 …t LFE mix level" , OFFSET(lfe_mix_level ), AV_OPT_TYPE_FLOAT, {.dbl=0 …
63 …t rematrix volume" , OFFSET(rematrix_volume), AV_OPT_TYPE_FLOAT, {.dbl=1.0 …
64 …t rematrix volume" , OFFSET(rematrix_volume), AV_OPT_TYPE_FLOAT, {.dbl=1.0 …
65 …t rematrix maxval" , OFFSET(rematrix_maxval), AV_OPT_TYPE_FLOAT, {.dbl=0.0 …
71 …t dither scale" , OFFSET(dither.scale ), AV_OPT_TYPE_FLOAT, {.dbl=1 …
89 …t cutoff frequency ratio" , OFFSET(cutoff) , AV_OPT_TYPE_DOUBLE,{.dbl=0. …
[all …]
/third_party/ffmpeg/libavfilter/
Daf_biquads.c284 BIQUAD_FILTER(dbl, double, -1., 1., 0)
332 BIQUAD_DII_FILTER(dbl, double, -1., 1., 0)
379 BIQUAD_TDII_FILTER(dbl, double, -1., 1., 0)
434 BIQUAD_LATT_FILTER(dbl, double, -1., 1., 0)
896 …{"frequency", "set central frequency", OFFSET(frequency), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, 999999,…
897 …{"f", "set central frequency", OFFSET(frequency), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0, 999999,…
905 {"width", "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 99999, FLAGS},
906 {"w", "set band-width", OFFSET(width), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0, 99999, FLAGS},
907 {"gain", "set gain", OFFSET(gain), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -900, 900, FLAGS},
908 {"g", "set gain", OFFSET(gain), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -900, 900, FLAGS},
[all …]
Daf_superequalizer.c354 { "1b", "set 65Hz band gain", OFFSET(gains [0]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
355 { "2b", "set 92Hz band gain", OFFSET(gains [1]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
356 { "3b", "set 131Hz band gain", OFFSET(gains [2]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
357 { "4b", "set 185Hz band gain", OFFSET(gains [3]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
358 { "5b", "set 262Hz band gain", OFFSET(gains [4]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
359 { "6b", "set 370Hz band gain", OFFSET(gains [5]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
360 { "7b", "set 523Hz band gain", OFFSET(gains [6]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
361 { "8b", "set 740Hz band gain", OFFSET(gains [7]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
362 { "9b", "set 1047Hz band gain", OFFSET(gains [8]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
363 { "10b", "set 1480Hz band gain", OFFSET(gains [9]), AV_OPT_TYPE_FLOAT, {.dbl=1}, 0, 20, AF },
[all …]
Dvf_colorlevels.c56 …{ "rimin", "set input red black point", OFFSET(range[R].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
57 …{ "gimin", "set input green black point", OFFSET(range[G].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
58 …{ "bimin", "set input blue black point", OFFSET(range[B].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
59 …{ "aimin", "set input alpha black point", OFFSET(range[A].in_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
60 …{ "rimax", "set input red white point", OFFSET(range[R].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1},…
61 …{ "gimax", "set input green white point", OFFSET(range[G].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1},…
62 …{ "bimax", "set input blue white point", OFFSET(range[B].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1},…
63 …{ "aimax", "set input alpha white point", OFFSET(range[A].in_max), AV_OPT_TYPE_DOUBLE, {.dbl=1},…
64 …{ "romin", "set output red black point", OFFSET(range[R].out_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
65 …{ "gomin", "set output green black point", OFFSET(range[G].out_min), AV_OPT_TYPE_DOUBLE, {.dbl=0},…
[all …]
Dvf_convolution_opencl.c352 …{ "0rdiv", "set rdiv for 1nd plane", OFFSET(rdivs[0]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX…
353 …{ "1rdiv", "set rdiv for 2nd plane", OFFSET(rdivs[1]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX…
354 …{ "2rdiv", "set rdiv for 3rd plane", OFFSET(rdivs[2]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX…
355 …{ "3rdiv", "set rdiv for 4th plane", OFFSET(rdivs[3]), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, INT_MAX…
356 …{ "0bias", "set bias for 1st plane", OFFSET(biases[0]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MA…
357 …{ "1bias", "set bias for 2nd plane", OFFSET(biases[1]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MA…
358 …{ "2bias", "set bias for 3rd plane", OFFSET(biases[2]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MA…
359 …{ "3bias", "set bias for 4th plane", OFFSET(biases[3]), AV_OPT_TYPE_FLOAT, {.dbl=0.0}, 0.0, INT_MA…
384 …{ "scale", "set scale", OFFSET(scale), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, 0.0, 65535, FLA…
385 …{ "delta", "set delta", OFFSET(delta), AV_OPT_TYPE_FLOAT, {.dbl=0}, -65535, 65535, FLA…
[all …]
Daf_haas.c60 …{ "level_in", "set level in", OFFSET(level_in), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0…
61 …{ "level_out", "set level out", OFFSET(level_out), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0…
62 …{ "side_gain", "set side gain", OFFSET(par_side_gain), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0…
69 …{ "left_delay", "set left delay", OFFSET(par_delay0), AV_OPT_TYPE_DOUBLE, {.dbl=2.05}…
70 …{ "left_balance", "set left balance", OFFSET(par_balance0), AV_OPT_TYPE_DOUBLE, {.dbl=-1.0}…
71 …{ "left_gain", "set left gain", OFFSET(par_gain0), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0…
73 …{ "right_delay", "set right delay", OFFSET(par_delay1), AV_OPT_TYPE_DOUBLE, {.dbl=2.12}…
74 …{ "right_balance", "set right balance", OFFSET(par_balance1), AV_OPT_TYPE_DOUBLE, {.dbl=1}, …
75 …{ "right_gain", "set right gain", OFFSET(par_gain1), AV_OPT_TYPE_DOUBLE, {.dbl=1}, 0…
Dvf_sab.c87 …{ "luma_radius", "set luma radius", OFFSET(luma.radius), AV_OPT_TYPE_FLOAT, {.dbl=1.0},…
88 …{ "lr" , "set luma radius", OFFSET(luma.radius), AV_OPT_TYPE_FLOAT, {.dbl=1.0},…
89 …a pre-filter radius", OFFSET(luma.pre_filter_radius), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, PRE_FILTER_RA…
90 …a pre-filter radius", OFFSET(luma.pre_filter_radius), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, PRE_FILTER_RA…
91 … "set luma strength", OFFSET(luma.strength), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, STRENGTH_MIN,…
92 … "set luma strength", OFFSET(luma.strength), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, STRENGTH_MIN,…
94 … "set chroma radius", OFFSET(chroma.radius), AV_OPT_TYPE_FLOAT, {.dbl=RADIUS_MIN-1}, RADI…
95 … "set chroma radius", OFFSET(chroma.radius), AV_OPT_TYPE_FLOAT, {.dbl=RADIUS_MIN-1}, RADI…
96 …re-filter radius", OFFSET(chroma.pre_filter_radius), AV_OPT_TYPE_FLOAT, {.dbl=PRE_FILTER_RADIUS_M…
98 …re-filter radius", OFFSET(chroma.pre_filter_radius), AV_OPT_TYPE_FLOAT, {.dbl=PRE_FILTER_RADIUS_M…
[all …]
Dvf_procamp_vaapi.c197 …OFFSET(bright), AV_OPT_TYPE_FLOAT, { .dbl = BRIGHTNESS_DEFAULT }, BRIGHTNESS_MIN, BRIGHTNESS_MAX,…
199 …OFFSET(bright), AV_OPT_TYPE_FLOAT, { .dbl = BRIGHTNESS_DEFAULT }, BRIGHTNESS_MIN, BRIGHTNESS_MAX,…
201 …OFFSET(saturation), AV_OPT_TYPE_FLOAT, { .dbl = SATURATION_DEFAULT }, SATURATION_MIN, SATURATION_M…
203 …OFFSET(saturation), AV_OPT_TYPE_FLOAT, { .dbl = SATURATION_DEFAULT }, SATURATION_MIN, SATURATION_M…
205 …OFFSET(contrast), AV_OPT_TYPE_FLOAT, { .dbl = CONTRAST_DEFAULT }, CONTRAST_MIN, CONTRAST_MAX, .fl…
207 …OFFSET(contrast), AV_OPT_TYPE_FLOAT, { .dbl = CONTRAST_DEFAULT }, CONTRAST_MIN, CONTRAST_MAX, .fl…
209 OFFSET(hue), AV_OPT_TYPE_FLOAT, { .dbl = HUE_DEFAULT }, HUE_MIN, HUE_MAX, .flags = FLAGS },
211 OFFSET(hue), AV_OPT_TYPE_FLOAT, { .dbl = HUE_DEFAULT }, HUE_MIN, HUE_MAX, .flags = FLAGS },
Daf_speechnorm.c93 …{ "peak", "set the peak value", OFFSET(peak_value), AV_OPT_TYPE_DOUBLE, {.dbl=0.95}, 0.0, 1.0, FLA…
94 …{ "p", "set the peak value", OFFSET(peak_value), AV_OPT_TYPE_DOUBLE, {.dbl=0.95}, 0.0, 1.0, FLA…
95 …{ "expansion", "set the max expansion factor", OFFSET(max_expansion), AV_OPT_TYPE_DOUBLE, {.dbl=2.…
96 …{ "e", "set the max expansion factor", OFFSET(max_expansion), AV_OPT_TYPE_DOUBLE, {.dbl=2.…
97 …he max compression factor", OFFSET(max_compression), AV_OPT_TYPE_DOUBLE, {.dbl=2.0}, 1.0, 50.0, FL…
98 …he max compression factor", OFFSET(max_compression), AV_OPT_TYPE_DOUBLE, {.dbl=2.0}, 1.0, 50.0, FL…
99 …{ "threshold", "set the threshold value", OFFSET(threshold_value), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0…
100 …{ "t", "set the threshold value", OFFSET(threshold_value), AV_OPT_TYPE_DOUBLE, {.dbl=0}, 0…
101 …{ "raise", "set the expansion raising amount", OFFSET(raise_amount), AV_OPT_TYPE_DOUBLE, {.dbl=0.0…
102 …{ "r", "set the expansion raising amount", OFFSET(raise_amount), AV_OPT_TYPE_DOUBLE, {.dbl=0.0…
[all …]
Dvf_unsharp_opencl.c341 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
344 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
347 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
350 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
353 { .dbl = 1.0 }, -10, 10, FLAGS },
356 { .dbl = 1.0 }, -10, 10, FLAGS },
360 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
363 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
366 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
369 { .dbl = 5.0 }, 1, MAX_DIAMETER, FLAGS },
[all …]
/third_party/boost/libs/format/test/
Dformat_test2.cpp131 double dbl = 1234567.890123f; in main() local
135 BOOST_TEST(boost::starts_with((boost::format("%A") % dbl).str(), "0X")); in main()
136 BOOST_TEST(boost::starts_with((boost::format("%a") % dbl).str(), "0x")); in main()
139 BOOST_TEST(boost::contains((boost::format("%E") % dbl).str(), "E")); in main()
140 BOOST_TEST(boost::contains((boost::format("%e") % dbl).str(), "e")); in main()
141 BOOST_TEST(boost::contains((boost::format("%F") % dbl).str(), ".")); in main()
142 BOOST_TEST(boost::contains((boost::format("%f") % dbl).str(), ".")); in main()
143 BOOST_TEST(!(boost::format("%G") % dbl).str().empty()); in main()
144 BOOST_TEST(!(boost::format("%g") % dbl).str().empty()); in main()
/third_party/ffmpeg/libavcodec/
Dac3dec_float.c36 …namic range compression to apply", OFFSET(drc_scale), AV_OPT_TYPE_FLOAT, {.dbl = 1.0}, 0.0, 6.0, P…
41 …enter Mix Level", OFFSET(ltrt_center_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0…
42 …urround Mix Level", OFFSET(ltrt_surround_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0…
43 …enter Mix Level", OFFSET(loro_center_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0…
44 …urround Mix Level", OFFSET(loro_surround_mix_level), AV_OPT_TYPE_FLOAT, {.dbl = -1.0 }, -1.0, 2.0…

12345678910>>...12