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

1 2 3 4

  /external/opencv3/3rdparty/include/ffmpeg_/libavutil/
intfloat_readwrite.h 30 uint8_t mantissa[8]; member in struct:AVExtFloat
  /external/crcalc/src/com/hp/creals/
StringFloatRep.java 43 mantissa = m;
52 * A string representation of the mantissa. The decimal point is implicitly
55 public String mantissa; field in class:StringFloatRep
61 * The mantissa is scaled by radix**exponent.
70 (sign < 0? "-" : "") + mantissa + "E" + Integer.toString(exponent)
  /external/nanopb-c/examples/using_double_on_avr/
double_conversion.c 22 uint64_t mantissa; local
27 mantissa = in.i & 0x7FFFFF;
36 if (!mantissa)
44 mantissa <<= 1;
45 while (!(mantissa & 0x800000))
47 mantissa <<= 1;
50 mantissa &= 0x7FFFFF;
55 mantissa <<= 29;
56 mantissa |= (uint64_t)(exponent + 1023) << 52;
57 mantissa |= (uint64_t)sign << 63
66 uint32_t mantissa; local
    [all...]
  /external/deqp/framework/delibs/debase/
deFloat16.c 32 deUint32 mantissa; local
42 mantissa = x.u & 0x007fffffu;
53 mantissa = mantissa | 0x00800000u;
55 /* Round mantissa to nearest (10+e) */
59 deUint32 b = (mantissa >> t) & 1u;
61 mantissa = (mantissa + a + b) >> t;
64 return (deFloat16) (sign | mantissa);
68 if (mantissa == 0u
106 deUint32 mantissa; local
    [all...]
  /external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
tmmbr.cc 36 uint32_t* mantissa,
38 // input_base10 = mantissa * 2^exp
49 *mantissa = (input_base10 >> exponent);
56 uint32_t mantissa = 0; local
58 ComputeMantissaAnd6bitBase2Exponent(bitrate_bps, 17, &mantissa, &exp);
61 AssignUWord8(buffer, pos, (exp << 2) + ((mantissa >> 15) & 0x03));
62 AssignUWord8(buffer, pos, mantissa >> 7);
63 AssignUWord8(buffer, pos, (mantissa << 1) +
77 // | MxTBR Exp | MxTBR Mantissa |Measured Overhead|
tmmbn.cc 34 uint32_t* mantissa,
36 // input_base10 = mantissa * 2^exp
47 *mantissa = (input_base10 >> exponent);
54 uint32_t mantissa = 0; local
56 ComputeMantissaAnd6bitBase2Exponent(bitrate_bps, 17, &mantissa, &exp);
59 AssignUWord8(buffer, pos, (exp << 2) + ((mantissa >> 15) & 0x03));
60 AssignUWord8(buffer, pos, mantissa >> 7);
61 AssignUWord8(buffer, pos, (mantissa << 1) +
75 // | MxTBR Exp | MxTBR Mantissa |Measured Overhead|
  /system/media/audio_utils/
minifloat.c 51 int mantissa = (int) (r * ONE_FLOAT); local
52 return exp > 0 ? (exp << MANTISSA_BITS) | (mantissa & ~HIDDEN_BIT) :
53 (mantissa >> (1 - exp)) & MANTISSA_MAX;
58 int mantissa = a & MANTISSA_MAX; local
60 return ldexpf((exponent > 0 ? HIDDEN_BIT | mantissa : mantissa << 1) / ONE_FLOAT,
  /frameworks/opt/net/voip/src/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/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/
ieee754.h 38 unsigned int mantissa:23; member in struct:ieee754_float::__anon37404
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon37404
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon37405
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon37405
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.15-4.8/sysroot/usr/include/
ieee754.h 38 unsigned int mantissa:23; member in struct:ieee754_float::__anon39306
41 unsigned int mantissa:23; member in struct:ieee754_float::__anon39306
54 unsigned int mantissa:22; member in struct:ieee754_float::__anon39307
57 unsigned int mantissa:22; member in struct:ieee754_float::__anon39307
78 /* Together these comprise the mantissa. */
89 /* Together these comprise the mantissa. */
105 /* Together these comprise the mantissa. */
116 /* Together these comprise the mantissa. */
  /device/google/dragon/audio/hal/dsp/
drc_math.h 62 unsigned int mantissa:23; member in struct:ieee754_float::__anon3145
  /external/mesa3d/src/gallium/drivers/r300/compiler/
radeon_inline_literals.c 14 * 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/vixl/src/vixl/
utils.cc 96 float float_pack(uint32_t sign, uint32_t exp, uint32_t mantissa) {
97 uint32_t bits = (sign << 31) | (exp << 23) | mantissa;
102 double double_pack(uint64_t sign, uint64_t exp, uint64_t mantissa) {
103 uint64_t bits = (sign << 63) | (exp << 52) | mantissa;
114 uint16_t mantissa = value & mantissa_mask; local
116 if (mantissa == 0) {
121 if (mantissa == 0) {
  /frameworks/native/opengl/libagl/
fp.h 54 inline int32_t mantissa(GLfloat) CONST;
153 int32_t mantissa(GLfloat v) { function in namespace:android::gl
  /cts/tests/tests/renderscriptlegacy/src/android/renderscriptlegacy/cts/
RSUtils.java 57 double mantissa = r.nextDouble(); local
60 double rand = sign * mantissa * Math.pow(2.0, exponent);
108 float mantissa = r.nextFloat(); local
111 float rand = sign * mantissa * (float) Math.pow(2.0, exponent);
  /external/aac/libSYS/src/
wav_file.cpp 334 INT sign, exponent, mantissa, sample ; local
339 mantissa = ulawbyte & 0x0F ;
341 sample = exp_lut[exponent] + (mantissa << (exponent + 3)) ;
  /external/google-benchmark/src/
string_util.cc 33 double one_k, std::string* mantissa,
57 *mantissa = mantissa_stream.str();
71 *mantissa = mantissa_stream.str();
81 *mantissa = mantissa_stream.str();
100 std::string mantissa; local
102 ToExponentAndMantissa(value, threshold, precision, 1024.0, &mantissa,
104 return mantissa + ExponentToPrefix(exponent, false);
  /external/mesa3d/src/gallium/auxiliary/util/
u_format_r11g11b10f.h 61 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 = f32.ui & 0x007fffff local
191 int mantissa = (val & 0x001f); local
    [all...]
u_format_rgb9e5.h 50 unsigned int mantissa:23; member in struct:__anon19629::__anon19630
52 unsigned int mantissa:23;
  /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 317 int32_t mantissa = ~x; local
318 int32_t exponent = (mantissa >> 4) & 7;
320 mantissa &= 0x0f;
324 int32_t abs = (0x80l << exponent) + step * mantissa + step / 2 - 4 * 33;
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
Float16Utils.java 28 // 16-bit masks for extracting sign, exponent and mantissa bits
41 // NaN has all exponent bits set to 1 and a non-zero mantissa
47 // Infinity has all exponent bits set to 1 and zeroes in mantissa
53 // Subnormal numbers have exponent bits set to 0 and a non-zero mantissa
74 // Extract sign, exponent and mantissa
77 int mantissa = val & MANTISSA_MASK; local
79 // 0.<mantissa> = <mantissa> * 2^-10
80 float mantissaAsFloat = Math.scalb(mantissa, -10);
94 // value is 2^(exponent - 15) * 1.<mantissa>
128 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; \/\/ 52-bit mantissa local
231 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; \/\/ 52-bit mantissa local
309 long mantissa = valueBits & DOUBLE_MANTISSA_MASK; \/\/ 52-bit mantissa local
    [all...]
RSUtils.java 79 double mantissa = r.nextDouble(); local
82 double rand = sign * mantissa * Math.pow(2.0, exponent);
130 float mantissa = r.nextFloat(); local
133 float rand = sign * mantissa * (float) Math.pow(2.0, exponent);
  /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/deqp/framework/common/
tcuFloat.hpp 75 * \param mantissa Mantissa bits with implicit leading bit explicitly set
79 * The normally implicit leading bit of the mantissa must be explicitly set.
81 * values are specified with the leading mantissa bit of zero and the lowest
83 * mantissa set to zero is a shorthand notation for the correctly signed
85 * exponent of ExponentBias+1 and the appropriate mantissa (with leading
88 static inline Float construct (int sign, int exponent, StorageType mantissa);
94 * \param mantissa Mantissa bits
115 inline StorageType mantissa (void) const { return isZero() || isDenorm() ? mantissaBits() : (mantissaBits() | (StorageType(1) (…) function in class:tcu::Float
    [all...]

Completed in 628 milliseconds

1 2 3 4