Searched refs:mantissa (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format_r11g11b10f.h61 int mantissa = f32.ui & 0x007fffff; local
71 if (mantissa) {
90 mantissa >>= UF11_MANTISSA_SHIFT;
91 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa;
105 int mantissa = (val & 0x003f); local
110 if (mantissa != 0) {
112 f32.f = scale * mantissa;
116 f32.ui = F32_INFINITY | mantissa;
127 decimal = 1.0f + (float) mantissa / 64;
147 int mantissa local
191 int mantissa = (val & 0x001f); local
[all...]
H A Du_format_rgb9e5.h50 unsigned int mantissa:23; member in struct:__anon12095::__anon12096
52 unsigned int mantissa:23;
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format_r11g11b10f.h61 int mantissa = f32.ui & 0x007fffff; local
71 if (mantissa) {
90 mantissa >>= UF11_MANTISSA_SHIFT;
91 uf11 = exponent << UF11_EXPONENT_SHIFT | mantissa;
105 int mantissa = (val & 0x003f); local
110 if (mantissa != 0) {
112 f32.f = scale * mantissa;
116 f32.ui = F32_INFINITY | mantissa;
127 decimal = 1.0f + (float) mantissa / 64;
147 int mantissa local
191 int mantissa = (val & 0x001f); local
[all...]
H A Du_format_rgb9e5.h50 unsigned int mantissa:23; member in struct:__anon22457::__anon22458
52 unsigned int mantissa:23;
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Dquerymatrix.c24 * GLbitfield glQueryMatrixxOES( GLfixed mantissa[16],
26 * mantissa[16] contains the contents of the current matrix in GLfixed
29 * is close to mantissa[i] * 2^exponent[i]. The function returns a status
91 extern GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
97 GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) argument
164 mantissa[i] = FLOAT_TO_FIXED(normalizedFraction);
179 mantissa[i] = INT_TO_FIXED(0);
189 mantissa[i] = INT_TO_FIXED(1);
192 mantissa[i] = -INT_TO_FIXED(1);
202 mantissa[
[all...]
H A Dimports.c435 float mantissa = ((float) (m)) / 1024.0f; local
437 return sign * mantissa * half_denorm;
/external/mesa3d/src/mesa/main/
H A Dquerymatrix.c24 * GLbitfield glQueryMatrixxOES( GLfixed mantissa[16],
26 * mantissa[16] contains the contents of the current matrix in GLfixed
29 * is close to mantissa[i] * 2^exponent[i]. The function returns a status
91 extern GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]);
97 GLbitfield GL_APIENTRY _es_QueryMatrixxOES(GLfixed mantissa[16], GLint exponent[16]) argument
164 mantissa[i] = FLOAT_TO_FIXED(normalizedFraction);
179 mantissa[i] = INT_TO_FIXED(0);
189 mantissa[i] = INT_TO_FIXED(1);
192 mantissa[i] = -INT_TO_FIXED(1);
202 mantissa[
[all...]
H A Dimports.c435 float mantissa = ((float) (m)) / 1024.0f; local
437 return sign * mantissa * half_denorm;
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dfloatnum.c43 * Sign exponent mantissa (80 bits)
51 /*@only@*/ wordptr mantissa; /* Allocated to MANT_BITS bits */ member in struct:yasm_floatnum
78 unsigned char mantissa[MANT_BYTES]; /* little endian mantissa */ member in struct:POT_Entry_Source_s
145 /* Initialize mantissa */
146 e->f.mantissa = BitVector_Create(MANT_BITS, FALSE);
147 BitVector_Block_Store(e->f.mantissa, s->mantissa, MANT_BYTES);
201 BitVector_Destroy(POT_TableN[i].f.mantissa);
202 BitVector_Destroy(POT_TableP[i].f.mantissa);
[all...]
/external/valgrind/main/VEX/switchback/
H A Dtest_emfloat.c514 u16 mantissa[INTERNAL_FPF_PRECISION]; member in struct:__anon27062
533 static void ShiftMantLeft1(u16 *carry,u16 *mantissa);
534 static void ShiftMantRight1(u16 *carry,u16 *mantissa);
701 dest->mantissa[i]=0;
721 dest->mantissa[i]=0;
730 ** as the mantissa bits go.
739 dest->mantissa[0]=0x4000;
741 dest->mantissa[i]=0;
750 ** number's mantissa. It checks for an all-zero mantissa
816 ShiftMantLeft1(u16 *carry, u16 *mantissa) argument
841 ShiftMantRight1(u16 *carry, u16 *mantissa) argument
873 u16 *mantissa; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c14 * 22:0 mantissa
19 * 0:2 mantissa
26 unsigned mantissa = float_bits & 0x007fffff; local
41 if (mantissa & mantissa_mask) {
44 mantissa, mantissa_mask,
45 mantissa & mantissa_mask);
50 r300_mantissa = (mantissa & ~mantissa_mask) >> 20;
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c14 * 22:0 mantissa
19 * 0:2 mantissa
26 unsigned mantissa = float_bits & 0x007fffff; local
41 if (mantissa & mantissa_mask) {
44 mantissa, mantissa_mask,
45 mantissa & mantissa_mask);
50 r300_mantissa = (mantissa & ~mantissa_mask) >> 20;
/external/aac/libSBRdec/src/
H A Dtranscendent.h114 \brief Add two values given by mantissa and exponent.
136 for compensation, the mantissa is shifted right. */
174 for compensation, the mantissa is shifted right. */
198 \brief Divide two values given by mantissa and exponent.
227 - skip first bit of mantissa, because this is always the same (>0.5)
251 /* Fetch inversed mantissa from table: */
283 - skip first bit of mantissa, because this is always the same (>0.5)
307 /* Fetch inversed mantissa from table: */
320 \brief Calculate the squareroot of a number given by mantissa and exponent
329 static inline void FDK_sqrt_MantExp(FIXP_DBL *mantissa, /*!< Pointe argument
[all...]
H A Denv_dec.cpp654 This function calculates a mantissa corresponding to the fractional
667 FIXP_SGL mantissa; local
696 mantissa = 0.5f;
698 /* Amplify mantissa according to the fractional part of the
706 multiply mantissa with the corresponding factor: */
707 mantissa = (FIXP_SGL)( (mantissa * pow2[bit]) << 1);
718 This will be compensated by a mantissa of 0.5*sqrt(2) instead of 0.5 if that bit is 1. */
719 mantissa = (exponent & ampShift) ? FL2FXCONST_SGL(0.707106781186548f) : FL2FXCONST_SGL(0.5f);
730 /* Combine mantissa an
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/tests/
H A Dfloatnum_test.c43 unsigned char mantissa[MANT_BYTES]; /* little endian mantissa - first member in struct:Init_Entry_s
172 unsigned char *mantissa; local
176 mantissa = BitVector_Block_Read(flt->mantissa, &len);
178 if (mantissa[i] != val->mantissa[i])
180 free(mantissa);
182 strcat(result_msg, "mantissa");
235 flt->mantissa
[all...]
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/
H A Dmathutil.h123 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; local
128 abs = mantissa >> e;
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c111 /* Exponent / mantissa bits */
141 * secondly, even if there was, since the FP's mantissa takes only a fraction
160 unsigned mantissa; local
166 mantissa = lp_mantissa(src_type);
168 if (dst_width <= mantissa) {
171 * in the lowest significant bits of the mantissa, with correct rounding.
173 * This only works if the destination width fits in the mantissa.
184 bias = (double)(1ULL << (mantissa - dst_width));
192 else if (dst_width == (mantissa + 1)) {
195 * floating point (i.e., mantissa
285 unsigned mantissa; local
[all...]
H A Dlp_bld_arit.c813 unsigned mantissa = lp_mantissa(bld->type);
814 factor = lp_build_const_int_vec(bld->gallivm, bld->type, (unsigned long long)shift << mantissa);
1686 unsigned mantissa = lp_mantissa(type); local
1702 -(double)(((unsigned long long)1 << mantissa) - 10)/((unsigned long long)1 << mantissa));
1742 unsigned mantissa = lp_mantissa(type); local
1747 (double)(((unsigned long long)1 << mantissa) - 10)/((unsigned long long)1 << mantissa));
2690 unsigned mantissa = lp_mantissa(type); local
2700 lp_build_const_int_vec(bld->gallivm, type, mantissa), "");
2723 unsigned mantissa = lp_mantissa(type); local
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_conv.c111 /* Exponent / mantissa bits */
141 * secondly, even if there was, since the FP's mantissa takes only a fraction
160 unsigned mantissa; local
166 mantissa = lp_mantissa(src_type);
168 if (dst_width <= mantissa) {
171 * in the lowest significant bits of the mantissa, with correct rounding.
173 * This only works if the destination width fits in the mantissa.
184 bias = (double)(1ULL << (mantissa - dst_width));
192 else if (dst_width == (mantissa + 1)) {
195 * floating point (i.e., mantissa
285 unsigned mantissa; local
[all...]
H A Dlp_bld_arit.c813 unsigned mantissa = lp_mantissa(bld->type);
814 factor = lp_build_const_int_vec(bld->gallivm, bld->type, (unsigned long long)shift << mantissa);
1686 unsigned mantissa = lp_mantissa(type); local
1702 -(double)(((unsigned long long)1 << mantissa) - 10)/((unsigned long long)1 << mantissa));
1742 unsigned mantissa = lp_mantissa(type); local
1747 (double)(((unsigned long long)1 << mantissa) - 10)/((unsigned long long)1 << mantissa));
2690 unsigned mantissa = lp_mantissa(type); local
2700 lp_build_const_int_vec(bld->gallivm, type, mantissa), "");
2723 unsigned mantissa = lp_mantissa(type); local
[all...]
/external/qemu/fpu/
H A Dsoftfloat-specialize.h134 uint16_t mantissa = a.high>>54; local
140 if (mantissa) {
142 | (0x1F << 10) | mantissa));
225 uint32_t mantissa = a.high>>41; local
231 if ( mantissa )
471 uint64_t mantissa = a.high>>12; local
477 if ( mantissa )
/external/libvorbis/doc/
H A D09-helper.tex57 1) [mantissa] = [x] bitwise AND 0x1fffff (unsigned result)
60 4) if ( [sign] is nonzero ) then negate [mantissa]
61 5) return [mantissa] * ( 2 ^ ( [exponent] - 788 ) )
/external/aac/libSYS/src/
H A Dwav_file.cpp334 INT sign, exponent, mantissa, sample ; local
339 mantissa = ulawbyte & 0x0F ;
341 sample = exp_lut[exponent] + (mantissa << (exponent + 3)) ;
/external/bison/lib/
H A Dvasnprintf.c912 /* Split into exponential part and mantissa. */
918 /* Convert the mantissa (y * 2^LDBL_MANT_BIT) to a sequence of limbs.
1000 /* Split into exponential part and mantissa. */
1006 /* Convert the mantissa (y * 2^DBL_MANT_BIT) to a sequence of limbs.
1335 /* Split into exponential part and mantissa. */
1426 /* Split into exponential part and mantissa. */
3104 long double mantissa; local
3107 mantissa = printf_frexpl (arg, &exponent);
3111 mantissa = 0.0L;
3117 /* Round the mantissa
3255 double mantissa; local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_emit.c164 float mantissa; local
173 mantissa = frexpf(f, &exponent);
176 if (mantissa < 0) {
178 mantissa = mantissa * -1.0;
183 /* Kill 7 LSB of mantissa */

Completed in 693 milliseconds

12