HomeSort by relevance Sort by last modified time
    Searched defs:mantissa (Results 1 - 25 of 28) sorted by null

1 2

  /frameworks/base/voip/jni/rtp/
G711Codec.cpp 61 int mantissa = (sample >> (exponent + 3)) & 0x0F; local
62 ulaws[i] = ~(sign | (exponent << 4) | mantissa);
76 int mantissa = ulaw & 0x0F; local
77 int sample = (((mantissa << 3) + 132) << exponent) - 132;
111 int mantissa = (sample >> (exponent == 0 ? 4 : exponent + 3)) & 0x0F; local
112 alaws[i] = (sign | (exponent << 4) | mantissa) ^ 0xD5;
126 int mantissa = alaw & 0x0F; local
127 int sample = (exponent == 0 ? (mantissa << 4) + 8 :
128 ((mantissa << 3) + 132) << exponent);
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/
ieee754.h 38 unsigned int mantissa:23; member in struct:ieee754_float::__anon22986
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon22986
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon22987
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon22987
78 /* Together these comprise the mantissa. */
89 /* Together these comprise the mantissa. */
105 /* Together these comprise the mantissa. */
116 /* Together these comprise the mantissa. */
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/
ieee754.h 38 unsigned int mantissa:23; member in struct:ieee754_float::__anon24576
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon24576
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon24577
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon24577
78 /* Together these comprise the mantissa. */
89 /* Together these comprise the mantissa. */
105 /* Together these comprise the mantissa. */
116 /* Together these comprise the mantissa. */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/
ieee754.h 38 unsigned int mantissa:23; member in struct:ieee754_float::__anon26088
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon26088
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon26089
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon26089
78 /* Together these comprise the mantissa. */
89 /* Together these comprise the mantissa. */
105 /* Together these comprise the mantissa. */
116 /* Together these comprise the mantissa. */
  /frameworks/native/opengl/libagl/
fp.h 54 inline int32_t mantissa(GLfloat) CONST;
153 int32_t mantissa(GLfloat v) { function in namespace:android::gl
  /external/aac/libSYS/src/
wav_file.cpp 335 INT sign, exponent, mantissa, sample ; local
340 mantissa = ulawbyte & 0x0F ;
342 sample = exp_lut[exponent] + (mantissa << (exponent + 3)) ;
  /external/v8/tools/
generate-ten-powers.scm 88 (define (generate-powers from to mantissa-size)
89 (let* ((nb-bits mantissa-size)
97 ;; want to create the matissa of 1/ten^i. However the mantissa must be
118 ;; start with 1.0. mantissa: 10...0 (1 followed by nb-bits-1 bits)
229 (define *mantissa-size* #f)
245 (("--mantissa-size" ?size (help "Container-size in bits"))
246 (set! *mantissa-size* (string->number size)))
264 (when (not *mantissa-size*)
266 "Missing mantissa size"
273 (let ((dividers (generate-powers *from* *to* *mantissa-size*)
    [all...]
  /frameworks/av/media/libstagefright/codecs/g711/dec/
SoftG711.cpp 284 int32_t mantissa = ~x; local
285 int32_t exponent = (mantissa >> 4) & 7;
287 mantissa &= 0x0f;
291 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33;
  /frameworks/base/core/jni/
android_opengl_GLES10Ext.cpp 104 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
112 GLfixed *mantissa = (GLfixed *) 0; local
119 jniThrowException(_env, "java/lang/IllegalArgumentException", "mantissa == null");
135 mantissa = mantissa_base + mantissaOffset;
158 (GLfixed *)mantissa,
174 /* GLbitfield glQueryMatrixxOES ( GLfixed *mantissa, GLint *exponent ) */
183 GLfixed *mantissa = (GLfixed *) 0; local
187 mantissa = (GLfixed *)getPointer(_env, mantissa_buf, &_mantissaArray, &_mantissaRemaining);
200 (GLfixed *)mantissa,
209 releasePointer(_env, _exponentArray, mantissa, _exception ? JNI_FALSE : JNI_TRUE)
    [all...]
  /external/aac/libSBRdec/src/
env_dec.cpp 654 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);
724 Mantissa was set to 0.5 (instead of 1.0, therefore increase exponent by 1)
    [all...]
  /external/qemu/fpu/
softfloat-specialize.h 134 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 )
  /libcore/luni/src/main/java/java/math/
Conversion.java 436 * Take 53 bits from lVal to mantissa. The least significant bit is
439 long mantissa = lVal & 0x1FFFFFFFFFFFFFL; local
441 if (mantissa == 0X1FFFFFFFFFFFFFL) {
445 if (mantissa == 0x1FFFFFFFFFFFFEL) {
449 // Round the mantissa
450 if (((mantissa & 1) == 1)
451 && (((mantissa & 2) == 2) || BitLevel.nonZeroDroppedBits(delta,
453 mantissa += 2;
455 mantissa >>= 1; // drop the rounding bit
458 long result = resSign | exponent | mantissa;
    [all...]
BigDecimal.java 484 long mantissa; local
488 // Extracting the 52 bits of the mantissa.
489 mantissa = (scale == 1075) ? (bits & 0xFFFFFFFFFFFFFL) << 1
491 if (mantissa == 0) {
495 // To simplify all factors '2' in the mantissa
497 trailingZeros = Math.min(scale, Long.numberOfTrailingZeros(mantissa));
498 mantissa >>>= trailingZeros;
503 mantissa = -mantissa;
505 int mantissaBits = bitLength(mantissa);
2615 BigInteger mantissa; local
    [all...]
  /libcore/luni/src/main/java/java/lang/
HexStringParser.java 71 private long mantissa; field in class:HexStringParser
120 return sign | exponent | mantissa;
149 * Parses the mantissa field.
180 mantissa = Long.parseLong(significand, HEX_RADIX);
192 mantissa = 0;
197 mantissa = 0;
218 mantissa = mantissa & MANTISSA_MASK;
223 desiredWidth += (int)exponent;//lends bit from mantissa to exponent
227 mantissa = mantissa & MANTISSA_MASK
    [all...]
  /libcore/luni/src/main/native/
cbigint.cpp 568 uint64_t mantissa, test64; local
587 mantissa = *arg << highBit;
589 CREATE_DOUBLE_BITS (mantissa, -highBit);
594 mantissa = *arg >> highBit;
596 CREATE_DOUBLE_BITS (mantissa, highBit);
600 if (test > 0x400 || ((test == 0x400) && (mantissa & 1)))
612 mantissa =
618 mantissa = arg[length];
621 CREATE_DOUBLE_BITS (mantissa, length * 64 - highBit);
625 if (test64 > SIGN_MASK || ((test64 == SIGN_MASK) && (mantissa & 1))
    [all...]
  /packages/apps/Calculator/src/com/android/calculator2/
Logic.java 287 String mantissa = result; local
291 mantissa = result.substring(0, e);
300 mantissa = result;
303 int period = mantissa.indexOf('.');
305 period = mantissa.indexOf(',');
309 while (mantissa.length() > 0 && mantissa.endsWith("0")) {
310 mantissa = mantissa.substring(0, mantissa.length() - 1)
    [all...]
  /external/bluetooth/glib/glib/
gtypes.h 361 guint mantissa : 23; member in struct:_GFloatIEEE754::__anon2516
383 guint mantissa : 23; member in struct:_GFloatIEEE754::__anon2518
  /external/srec/srec/EventLog/src/
riff.c 182 int sign, exponent, mantissa, sample; local
187 mantissa = ulawbyte & 0x0F;
188 sample = exp_lut[exponent] + (mantissa << (exponent + 3));
  /external/webrtc/src/modules/audio_processing/aec/
aec_core_sse2.c 226 // the mantissa, putting eight into the biased exponent (to shift/
229 // from the mantissa by substracting it out.
248 const __m128 mantissa = _mm_and_ps(a, *((__m128 *)mantissa_mask)); local
250 mantissa, *((__m128 *)zero_biased_exponent_is_one));
  /bionic/libc/netbsd/resolv/
res_debug.c 712 int mantissa, exponent; local
714 mantissa = (int)((prec >> 4) & 0x0f) % 10;
717 val = mantissa * poweroften[exponent];
730 int mantissa; local
752 mantissa = cmval / poweroften[exponent];
753 if (mantissa > 9)
754 mantissa = 9;
756 retval = (mantissa << 4) | exponent;
  /external/valgrind/main/VEX/switchback/
test_emfloat.c 512 u8 sign; /* Mantissa sign */
514 u16 mantissa[INTERNAL_FPF_PRECISION]; member in struct:__anon13657
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
873 u16 *mantissa; local
    [all...]
  /hardware/invensense/mlsdk/platform/include/linux/
mpu.h 203 long mantissa; member in struct:fix_pnt_range
209 return (long)(rng.mantissa * 1000 + rng.fraction / 10);
  /hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
AacEncTest.c 2888 float mantissa =0; local
    [all...]
  /external/v8/src/arm/
code-stubs-arm.cc 463 Register mantissa = result2_; local
487 __ mov(mantissa, Operand(0, RelocInfo::NONE));
491 // Count leading zeros. Uses mantissa for a scratch register on pre-ARM5.
493 __ CountLeadingZeros(zeros_, source_, mantissa);
495 // We use mantissa as a scratch register here. Use a fudge factor to
499 __ rsb(mantissa, zeros_, Operand(31 + HeapNumber::kExponentBias - fudge));
500 __ add(mantissa, mantissa, Operand(fudge));
503 Operand(mantissa, LSL, HeapNumber::kExponentShift));
509 __ mov(mantissa, Operand(source_, LSL, HeapNumber::kMantissaBitsInTopWord))
    [all...]
  /external/v8/src/mips/
code-stubs-mips.cc 461 Register mantissa = result2_; local
464 Register mantissa = result1_;
491 __ mov(mantissa, zero_reg);
498 // We use mantissa as a scratch register here.
499 __ li(mantissa, Operand(31 + HeapNumber::kExponentBias));
500 __ subu(mantissa, mantissa, zeros_);
501 __ sll(mantissa, mantissa, HeapNumber::kExponentShift);
502 __ Or(exponent, exponent, mantissa);
    [all...]

Completed in 842 milliseconds

1 2