Searched refs:exponent (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-10.0-release/contrib/compiler-rt/lib/
H A Dfixdfsi.c25 // Break a into sign, exponent, significand
29 const int exponent = (aAbs >> significandBits) - exponentBias; local
32 // If 0 < exponent < significandBits, right shift to get the result.
33 if ((unsigned int)exponent < significandBits) {
34 return sign * (significand >> (significandBits - exponent));
37 // If exponent is negative, the result is zero.
38 else if (exponent < 0) {
42 // If significandBits < exponent, left shift to get the result. This shift
47 return sign * (significand << (exponent - significandBits));
H A Dfixsfsi.c23 // Break a into sign, exponent, significand
27 const int exponent = (aAbs >> significandBits) - exponentBias; local
30 // If 0 < exponent < significandBits, right shift to get the result.
31 if ((unsigned int)exponent < significandBits) {
32 return sign * (significand >> (significandBits - exponent));
35 // If exponent is negative, the result is zero.
36 else if (exponent < 0) {
40 // If significandBits < exponent, left shift to get the result. This shift
45 return sign * (significand << (exponent - significandBits));
H A Dfloatunsisf.c31 const int exponent = (aWidth - 1) - __builtin_clz(a); local
35 if (exponent <= significandBits) {
36 const int shift = significandBits - exponent;
39 const int shift = exponent - significandBits;
46 // Insert the exponent
47 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsidf.c39 const int exponent = (aWidth - 1) - __builtin_clz(a); local
45 const int shift = significandBits - exponent;
48 // Insert the exponent
49 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsidf.c31 const int exponent = (aWidth - 1) - __builtin_clz(a); local
35 const int shift = significandBits - exponent;
38 // Insert the exponent
39 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsisf.c39 const int exponent = (aWidth - 1) - __builtin_clz(a); local
43 if (exponent <= significandBits) {
44 const int shift = significandBits - exponent;
47 const int shift = exponent - significandBits;
54 // Insert the exponent
55 result += (rep_t)(exponent + exponentBias) << significandBits;
/freebsd-10.0-release/contrib/binutils/libiberty/
H A Dcopysign.c11 unsigned int exponent: 11; member in struct:__anon649::__anon650
21 unsigned int exponent: 11; member in struct:__anon649::__anon651
54 unsigned int exponent :11; member in struct:__anon653::__anon654
69 unsigned int exponent: 11; member in struct:__anon653::__anon655
91 unsigned int exponent: 8; member in struct:__anon657::__anon658
98 unsigned int exponent:8; member in struct:__anon657::__anon659
116 unsigned int exponent: 8; member in struct:__anon660::__anon661
124 unsigned int exponent:8; member in struct:__anon660::__anon662
H A Dfloatformat.c150 /* In the i387 double-extended format, if the exponent is all ones,
151 then the integer bit must be set. If the exponent is neither 0
152 nor ~0, the intbit must also be set. Only if the exponent is
154 unsigned long exponent, int_bit; local
157 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
162 if ((exponent == 0) != (int_bit == 0))
308 long exponent;
314 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
317 /* If the exponent indicates a NaN, we don't have information to
320 if ((unsigned long) exponent
307 long exponent; local
468 int exponent; local
[all...]
/freebsd-10.0-release/contrib/gcclibs/libiberty/
H A Dcopysign.c11 unsigned int exponent: 11; member in struct:__anon1182::__anon1183
21 unsigned int exponent: 11; member in struct:__anon1182::__anon1184
54 unsigned int exponent :11; member in struct:__anon1186::__anon1187
69 unsigned int exponent: 11; member in struct:__anon1186::__anon1188
91 unsigned int exponent: 8; member in struct:__anon1190::__anon1191
98 unsigned int exponent:8; member in struct:__anon1190::__anon1192
116 unsigned int exponent: 8; member in struct:__anon1193::__anon1194
124 unsigned int exponent:8; member in struct:__anon1193::__anon1195
H A Dfloatformat.c150 /* In the i387 double-extended format, if the exponent is all ones,
151 then the integer bit must be set. If the exponent is neither 0
152 nor ~0, the intbit must also be set. Only if the exponent is
154 unsigned long exponent, int_bit; local
157 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
162 if ((exponent == 0) != (int_bit == 0))
310 long exponent;
316 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
319 /* If the exponent indicates a NaN, we don't have information to
322 if ((unsigned long) exponent
309 long exponent; local
479 int exponent; local
[all...]
/freebsd-10.0-release/contrib/binutils/gas/
H A Dflonum-copy.c56 out->exponent = in->exponent;
68 out->exponent = in->exponent + shorten;
H A Dflonum-mult.c85 long exponent;
104 exponent = a->exponent + b->exponent;
111 exponent -= extra_product_positions; /* Increases exponent. */
159 exponent++;
175 exponent++;
188 product->exponent = exponent;
84 long exponent; local
[all...]
H A Dflonum.h57 long exponent; /* base LITTLENUM_RADIX */ member in struct:FLONUM_STRUCT
H A Datof-generic.c41 * mark and optional decimal exponent (place value) of the *
58 <flonum> ::= <optional-sign> <decimal-number> <optional-exponent>
65 <optional-exponent> ::= {empty}
66 | <exponent-character> <optional-sign> <integer>
70 <exponent-character> ::= {one character from "string_of_decimal_exponent_marks"}
92 * Scan the input string, abstracting (1)digits (2)decimal mark (3) exponent.
129 address_of_generic_floating_point_number->exponent = 0;
143 address_of_generic_floating_point_number->exponent = 0;
298 address_of_generic_floating_point_number->exponent = 0; /* Not strictly necessary */
437 digits_flonum.exponent
[all...]
/freebsd-10.0-release/crypto/openssl/engines/vendor_defns/
H A Datalla.h5 * regular mod_exp using the supplied modulus and exponent - no CRT form is
29 Item exponent[2]; member in struct:RSAPrivateKeyStr
/freebsd-10.0-release/contrib/gcclibs/libdecnumber/
H A DdecNumber.c57 /* precision (up to 999,999,999 digits) and arbitrary exponent */
123 /* 4. Exponent checking is minimized by allowing the exponent to */
128 /* overflow (the most negative valid exponent is -1999999997, for */
129 /* a 999999999-digit number with adjusted exponent of -999999999). */
340 /* exponent (set.emax and set.emin), determining if */
345 /* The length of the coefficient and the size of the exponent are */
354 Int exponent = 0; /* working exponent [assume 0] */ local
364 const char *firstexp; /* -> first significant exponent digit */
477 { /* more there; exponent expecte
2739 Int exponent; /* working exponent */ local
3443 Int exponent; /* work */ local
[all...]
H A DdecNumberLocal.h75 #define DECNUMMAXE 999999999 /* maximum adjusted exponent ditto (9 digits) */
76 #define DECNUMMINE -999999999 /* minimum adjusted exponent ditto (9 digits) */
81 #error Maximum exponent mismatch
84 #error Minimum exponent mismatch
H A Ddecimal128.c67 /* digits or an overflow is detected). If the exponent is out of the */
72 /* by reducing its exponent and multiplying the coefficient by a */
73 /* power of ten, or if the exponent on a zero had to be clamped. */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
128 /* set and clamp exponent */
129 if (dn->exponent < -DECIMAL128_Bias)
136 exp = dn->exponent + DECIMAL128_Bias; /* bias exponent */
[all...]
H A Ddecimal32.c67 /* digits or an overflow is detected). If the exponent is out of the */
72 /* by reducing its exponent and multiplying the coefficient by a */
73 /* power of ten, or if the exponent on a zero had to be clamped. */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
128 /* set and clamp exponent */
129 if (dn->exponent < -DECIMAL32_Bias)
136 exp = dn->exponent + DECIMAL32_Bias; /* bias exponent */
[all...]
H A Ddecimal64.c67 /* digits or an overflow is detected). If the exponent is out of the */
72 /* by reducing its exponent and multiplying the coefficient by a */
73 /* power of ten, or if the exponent on a zero had to be clamped. */
85 /* If the number is finite, and has too many digits, or the exponent */
90 Int ae = dn->exponent + dn->digits - 1; /* adjusted exponent */
128 /* set and clamp exponent */
129 if (dn->exponent < -DECIMAL64_Bias)
136 exp = dn->exponent + DECIMAL64_Bias; /* bias exponent */
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DAPFloat.cpp105 /* Return the value of a decimal exponent of the form
108 If the exponent overflows, returns a large exponent with the
127 assert(absExponent < 10U && "Invalid character in exponent");
133 assert(value < 10U && "Invalid character in exponent");
144 assert(p == end && "Invalid exponent in exponent");
160 int exponent = 0;
176 assert(value < 10U && "Invalid character in exponent");
189 exponent
240 int exponent; member in struct:decimalInfo
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Ddoublest.c116 long exponent; local
164 exponent = get_field (ufrom, fmt->byteorder, fmt->totalsize,
166 /* Note that if exponent indicates a NaN, we can't really do anything useful
174 special_exponent = exponent == 0 || exponent == fmt->exp_nan;
176 /* Don't bias NaNs. Use minimum exponent for denorms. For simplicity,
177 we don't check for zero as the exponent doesn't matter. Note the cast
181 exponent -= fmt->exp_bias;
182 else if (exponent == 0)
183 exponent
338 int exponent; local
463 long exponent; local
[all...]
H A Di387-tdep.c58 point, 19 for the digits and 6 for the exponent adds up to 27. */
73 unsigned int exponent; local
78 exponent = (((raw[9] & 0x7f) << 8) | raw[8]);
83 if (exponent == 0x7fff && integer)
98 else if (exponent < 0x7fff && exponent > 0x0000 && integer)
101 else if (exponent == 0x0000)
712 unsigned int exponent;
716 exponent = (((raw[9] & 0x7f) << 8) | raw[8]);
721 if (exponent
706 unsigned int exponent; local
[all...]
/freebsd-10.0-release/lib/libc/mips/gen/
H A Dldexp.S69 sll t1, v1, 1 # get x exponent
73 addu t1, t1, a2 # scale exponent
126 subu t1, t1, t9 # adjust exponent
127 addu t1, t1, a2 # scale exponent
146 sll t1, t1, 31 - 11 # reposition exponent
156 sll t2, v1, 31 - 20 # clear exponent, extract fraction
161 sll ta0, t2, t1 # shift right t2,t3 based on exponent
182 mtc1 zero, $f1 # exponent and upper fraction
191 mtc1 ta0, $f1 # exponent and upper fraction
/freebsd-10.0-release/contrib/ntp/libparse/
H A Dieee754io.c173 long exponent; local
309 exponent = characteristic - bias;
311 if (exponent > 31) /* sorry - hardcoded */
322 frac_offset = mbits - exponent;
416 long exponent; local
467 exponent = mantissa_high = mantissa_low = 0; /* true zero */
526 exponent = msb - 32;
527 characteristic = exponent + bias;

Completed in 159 milliseconds

123