OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:significandbits
(Results
1 - 18
of
18
) sorted by null
/external/fio/lib/
ieee754.c
16
unsigned
significandbits
= bits - expbits - 1; // -1 for sign bit
local
44
significand = fnorm * ((1LL <<
significandbits
) + 0.5f);
58
unsigned
significandbits
= bits - expbits - 1; // -1 for sign bit
local
64
result = (i & ((1LL <<
significandbits
) - 1)); // mask
65
result /= (1LL <<
significandbits
); // convert back to float
70
shift = ((i >>
significandbits
) & ((1LL << expbits) - 1)) - bias;
/external/compiler-rt/lib/builtins/
fp_fixint_impl.inc
24
const int exponent = (aAbs >>
significandBits
) - exponentBias;
35
// If 0 <= exponent <
significandBits
, right shift to get the result.
37
if (exponent <
significandBits
)
38
return sign * (significand >> (
significandBits
- exponent));
40
return sign * ((fixint_t)significand << (exponent -
significandBits
));
fp_fixuint_impl.inc
22
const int exponent = (aAbs >>
significandBits
) - exponentBias;
33
// If 0 <= exponent <
significandBits
, right shift to get the result.
35
if (exponent <
significandBits
)
36
return significand >> (
significandBits
- exponent);
38
return (fixuint_t)significand << (exponent -
significandBits
);
floatsisf.c
44
if (exponent <=
significandBits
) {
45
const int shift =
significandBits
- exponent;
48
const int shift = exponent -
significandBits
;
56
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatunsisf.c
36
if (exponent <=
significandBits
) {
37
const int shift =
significandBits
- exponent;
40
const int shift = exponent -
significandBits
;
48
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatditf.c
41
const int shift =
significandBits
- exponent;
45
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatsidf.c
46
const int shift =
significandBits
- exponent;
50
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatsitf.c
41
const int shift =
significandBits
- exponent;
45
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatunditf.c
32
const int shift =
significandBits
- exponent;
36
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatunsidf.c
36
const int shift =
significandBits
- exponent;
40
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
floatunsitf.c
32
const int shift =
significandBits
- exponent;
36
result += (rep_t)(exponent + exponentBias) <<
significandBits
;
fp_lib.h
47
#define
significandBits
23
67
#define
significandBits
52
113
#define
significandBits
112
217
#define exponentBits (typeWidth -
significandBits
- 1)
221
#define implicitBit (REP_C(1) <<
significandBits
)
223
#define signBit (REP_C(1) << (
significandBits
+ exponentBits))
226
#define oneRep ((rep_t)exponentBias <<
significandBits
)
fp_add_impl.inc
60
int aExponent = aRep >>
significandBits
& maxExponent;
61
int bExponent = bRep >>
significandBits
& maxExponent;
136
result |= (rep_t)aExponent <<
significandBits
;
fp_mul_impl.inc
18
const unsigned int aExponent = toRep(a) >>
significandBits
& maxExponent;
19
const unsigned int bExponent = toRep(b) >>
significandBits
& maxExponent;
104
productHi |= (rep_t)productExponent <<
significandBits
;
divdf3.c
27
const unsigned int aExponent = toRep(a) >>
significandBits
& maxExponent;
28
const unsigned int bExponent = toRep(b) >>
significandBits
& maxExponent;
178
absResult |= (rep_t)writtenExponent <<
significandBits
;
divsf3.c
27
const unsigned int aExponent = toRep(a) >>
significandBits
& maxExponent;
28
const unsigned int bExponent = toRep(b) >>
significandBits
& maxExponent;
163
absResult |= (rep_t)writtenExponent <<
significandBits
;
divtf3.c
25
const unsigned int aExponent = toRep(a) >>
significandBits
& maxExponent;
26
const unsigned int bExponent = toRep(b) >>
significandBits
& maxExponent;
194
absResult |= (rep_t)writtenExponent <<
significandBits
;
/external/llvm/lib/Support/
APFloat.cpp
[
all
...]
Completed in 1457 milliseconds