Searched defs:half (Results 1 - 16 of 16) sorted by relevance

/external/fdlibm/
H A De_cosh.c38 static const double one = 1.0, half=0.5, huge = 1.0e300; variable
40 static double one = 1.0, half=0.5, huge = 1.0e300; variable
72 return half*t+half/t;
75 /* |x| in [22, ieee_log(maxdouble)] return half*ieee_exp(|x|) */
76 if (ix < 0x40862E42) return half*__ieee754_exp(ieee_fabs(x));
82 w = __ieee754_exp(half*ieee_fabs(x));
83 t = half*w;
H A Dk_sin.c49 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
73 else return x-((z*(half*y-v*r)-y)-v*S1);
H A De_rem_pio2.c73 half = 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
125 n = (int) (t*invpio2+half);
H A Ds_erf.c117 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
273 r += (x-half);
274 return half - r ;
H A De_lgamma_r.c90 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
282 r = half*y+p/q;
298 r = (x-half)*(t-one)+w;
/external/speex/libspeex/
H A Dvq_sse.h41 __m128 half; local
44 half = _mm_set_ps1(.5f);
50 __m128 d = _mm_mul_ps(E[i], half);
80 __m128 half; local
83 half = _mm_set_ps1(.5f);
/external/freetype/src/base/
H A Dfttrigon.c267 /* Get the vector into the right half plane */
436 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
439 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift;
440 vec->y = ( v.y + half + FT_SIGN_LONG( v.y ) ) >> shift;
/external/qemu/
H A Dcharpipe.c29 * each half of the channel has its own object and buffer, and
70 /* this models each half of the charpipe */
453 CharPipeHalf* half; local
455 half = cp->a;
456 if (half->peer != NULL)
457 charpipehalf_poll(half);
459 half = cp->b;
460 if (half->peer != NULL)
461 charpipehalf_poll(half);
/external/webkit/Source/WebCore/rendering/mathml/
H A DRenderMathMLOperator.cpp222 int half = (m_stretchHeight - gGlyphHeight) / 2; local
223 if (half <= gGlyphHeight) {
225 createGlyph(stretchyCharacters[index].topGlyph, half, gTopGlyphTopAdjust);
231 int remaining = half - gGlyphHeight;
245 // The remaining is the top half minus the middle glyph height.
246 remaining = half - gGlyphHeight;
/external/bluetooth/glib/glib/
H A Dgunidecomp.c179 int half = (start + end) / 2; local
180 if (ch == decomp_table[half].ch)
186 offset = decomp_table[half].compat_offset;
188 offset = decomp_table[half].canon_offset;
192 offset = decomp_table[half].canon_offset;
199 else if (half == start)
201 else if (ch > decomp_table[half].ch)
202 start = half;
204 end = half;
H A Dguniprop.c1188 int half = (start + end) / 2; local
1189 if (ch == casefold_table[half].ch)
1191 g_string_append (result, casefold_table[half].data);
1194 else if (half == start)
1196 else if (ch > casefold_table[half].ch)
1197 start = half;
1199 end = half;
/external/valgrind/main/none/tests/ppc32/
H A Dround.c176 double half = (double)denorm_small/2; local
177 double qtr = half/2;
178 double D_hi = (double)*base + half + qtr;
179 double D_lo = (double)*base + half - qtr;
389 double qtr, half, fA, fB, fD; local
404 half = (double)whole/2;
405 qtr = half/2;
431 fB = s*(4+q)*half;
434 fA = s*(4+q)*half;
/external/valgrind/main/none/tests/ppc64/
H A Dround.c176 double half = (double)denorm_small/2; local
177 double qtr = half/2;
178 double D_hi = (double)*base + half + qtr;
179 double D_lo = (double)*base + half - qtr;
389 double qtr, half, fA, fB, fD; local
404 half = (double)whole/2;
405 qtr = half/2;
431 fB = s*(4+q)*half;
434 fA = s*(4+q)*half;
/external/webkit/Source/WebCore/rendering/
H A DRenderThemeChromiumWin.cpp723 IntRect half = rect; local
727 half.setHeight(rect.height() / 2);
729 ThemePainter upPainter(info.context, half);
738 half.setY(rect.y() + rect.height() / 2);
740 ThemePainter downPainter(info.context, half);
/external/webkit/Source/WebKit/win/
H A DFullscreenVideoController.cpp148 float half = static_cast<float>(m_buttonSize) / 2; local
149 points[0].setX(m_rect.location().x() + m_buttonPosition + half);
152 points[1].setY(m_rect.location().y() + half);
153 points[2].setX(m_rect.location().x() + m_buttonPosition + half);
156 points[3].setY(m_rect.location().y() + half);
531 // height / 4 (which is actually half of font height /2), which positions the center of
/external/icu4c/i18n/
H A DdecNumber.c4726 Int half; /* half to add to lower unit */ local
4727 half=*up & 0x01;
4729 if (!half) continue;
6952 Unit half=(Unit)powers[DECDPUN]>>1; local
6954 if (*up>=half) {
6955 if (*up>half) *residue=7;
6958 else { /* <half */
7046 /* 5: rounding digit is exactly half-way */

Completed in 346 milliseconds