Searched refs:half (Results 1 - 25 of 95) sorted by relevance

1234

/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_lgamma_r.c90 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
282 r = half*y+p/q;
298 r = (x-half)*(t-one)+w;
H A Ds_erf.c117 half= 5.00000000000000000000e-01, /* 0x3FE00000, 0x00000000 */ variable
273 r += (x-half);
274 return half - r ;
/external/llvm/test/MC/Sparc/
H A Dsparc-directives.s8 ! SPARC32: .half 1024
9 ! SPARC64: .half 1024
10 .half 1024
/external/jmonkeyengine/engine/src/test/jme3test/math/
H A DTestHalfFloat.java48 short half = FastMath.convertFloatToHalf(flt);
49 float flt2 = FastMath.convertHalfToFloat(half);
/external/eigen/test/
H A DsparseLM.cpp38 int half = n/2; local
39 VectorBlock<const VectorType> u(uv, 0, half);
40 VectorBlock<const VectorType> v(uv, half, half);
44 for (int i = 0; i < half; i++)
65 int half = n/2; local
66 VectorBlock<const VectorType> u(uv, 0, half);
67 VectorBlock<const VectorType> v(uv, half, half);
72 for (int i = 0; i < half;
90 int half = n/2; local
[all...]
H A DdenseLM.cpp39 int half = n/2; local
40 VectorBlock<const VectorType> u(uv, 0, half);
41 VectorBlock<const VectorType> v(uv, half, half);
44 for (int i = 0; i < half; i++)
64 int half = n/2; local
65 VectorBlock<const VectorType> u(uv, 0, half);
66 VectorBlock<const VectorType> v(uv, half, half);
70 for (int i = 0; i < half;
85 int half = n/2; local
[all...]
/external/mockito/cglib-and-asm/src/org/mockito/cglib/util/
H A DSorterTemplate.java147 int half = len / 2;
148 int mid= lo + half;
151 len = len - half -1;
153 len = half;
162 int half = len / 2;
163 int mid = lo + half;
165 len = half;
168 len = len - half -1;
/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/dexmaker/src/dx/java/com/android/dx/util/
H A DByteArrayAnnotatedOutput.java220 int half = (int) value;
221 data[writeAt] = (byte) half;
222 data[writeAt + 1] = (byte) (half >> 8);
223 data[writeAt + 2] = (byte) (half >> 16);
224 data[writeAt + 3] = (byte) (half >> 24);
226 half = (int) (value >> 32);
227 data[writeAt + 4] = (byte) half;
228 data[writeAt + 5] = (byte) (half >> 8);
229 data[writeAt + 6] = (byte) (half >> 16);
230 data[writeAt + 7] = (byte) (half >> 2
[all...]
/external/eigen/unsupported/Eigen/src/MoreVectorization/
H A DMathFunctions.h25 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5);
27 _EIGEN_DECLARE_CONST_Packet4f(3half, 1.5);
48 //so first compare with half
/external/skia/src/opts/
H A DSkBlurImage_opts_SSE2.cpp45 const __m128i half = _mm_set1_epi32(1 << 23); local
66 result = _mm_add_epi32(result, half);
H A DSkBlurImage_opts_SSE4.cpp47 const __m128i half = _mm_set1_epi32(1 << 23); local
61 // Multiply each component by scale (i.e. divide by kernel size) and add half to round.
63 result = _mm_add_epi32(result, half);
/external/compiler-rt/lib/builtins/
H A Dfp_extend.h50 #error Source should be half, single, or double precision!
/external/f2fs-tools/tools/
H A Df2fstat.c218 int half = (len - strlen(name_h[i])) / 2; local
222 memset(head + index, '-', half);
223 index += half;
226 memset(head + index, '-', half);
/external/boringssl/linux-arm/crypto/sha/
H A Dsha512-armv4.S13 @ This code is ~4.5 (four and a half) times faster than code generated
/external/deqp/framework/common/
H A DtcuFloat.hpp285 deUint64 half = (1ull << (bitDiff - 1)) - 1; local
288 return Float(StorageType(s | (m + half + bias) >> bitDiff));
302 deUint64 half = (1ull << (bitDiff - 1)) - 1; local
305 m = (m + half + bias) >> bitDiff;
/external/crcalc/tests/src/com/hp/creals/
H A DCRTest.java107 CR half = one.divide(two);
120 check_eq(asin.execute(half.sin()), half, "asin(sin(0.5)) failed");
/external/skia/src/utils/
H A DSkCullPoints.cpp207 const SkScalar half = SK_ScalarHalf; local
209 SkRect r = SkRect::MakeXYWH(x - half, y - half, one, one);
/external/skia/src/effects/
H A DSkBlurImageFilter.cpp87 uint32_t half = 1 << 23; local
102 *dptr = SkPackARGB32((sumA * scale + half) >> 24,
103 (sumR * scale + half) >> 24,
104 (sumG * scale + half) >> 24,
105 (sumB * scale + half) >> 24);
H A DSkBlurMask.cpp48 * *dptr = (sum * scale + half) >> 24;
52 * *dptr = (sum * scale + half) >> 24;
56 * *dptr = (sum * scale + half) >> 24;
63 * *dptr = (sum * scale + half) >> 24;
68 * *dptr = (sum * scale + half) >> 24;
73 * *dptr = (sum * scale + half) >> 24;
90 uint32_t half = 1 << 23; local
102 *dptr = (sum * scale + half) >> 24; \
131 *dptr = (sum * scale + half) >> 24; \
160 *dptr = (sum * scale + half) >> 2
293 uint32_t half = 1 << 23; local
[all...]
/external/eigen/Eigen/src/Core/arch/SSE/
H A DMathFunctions.h27 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
111 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
178 _EIGEN_DECLARE_CONST_Packet2d(half, 0.5);
262 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
363 _EIGEN_DECLARE_CONST_Packet4f(half, 0.5f);
453 Packet4f half = pmul(_x, pset1<Packet4f>(.5f)); local
459 x = pmul(x, psub(pset1<Packet4f>(1.5f), pmul(half, pmul(x,x))));
/external/eigen/Eigen/src/Core/products/
H A DSelfadjointMatrixMatrix.h169 Index half = (std::min)(end_k,j2); local
170 for(Index k=k2; k<half; k++)
176 if(half==j2 && half<k2+rows)
182 half--;
185 for(Index k=half+1; k<k2+rows; k++)
/external/freetype/src/base/
H A Dfttrigon.c407 FT_Int32 half = (FT_Int32)1L << ( shift - 1 ); local
410 vec->x = ( v.x + half + FT_SIGN_LONG( v.x ) ) >> shift;
411 vec->y = ( v.y + half + FT_SIGN_LONG( v.y ) ) >> shift;

Completed in 5093 milliseconds

1234