Searched defs:exponent (Results 1 - 25 of 45) sorted by relevance

12

/freebsd-head/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dfloatunditf.c28 const int exponent = (aWidth - 1) - __builtin_clzll(a); local
32 const int shift = significandBits - exponent;
35 // Insert the exponent
36 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsitf.c28 const int exponent = (aWidth - 1) - __builtin_clz(a); local
32 const int shift = significandBits - exponent;
35 // Insert the exponent
36 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatditf.c36 const int exponent = (aWidth - 1) - __builtin_clzll(aAbs); local
40 const int shift = significandBits - exponent;
43 // Insert the exponent
44 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsisf.c36 const int exponent = (aWidth - 1) - __builtin_clz(a); local
40 if (exponent <= significandBits) {
41 const int shift = significandBits - exponent;
44 const int shift = exponent - significandBits;
53 // Insert the exponent
54 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsitf.c36 const int exponent = (aWidth - 1) - __builtin_clz(aAbs); local
40 const int shift = significandBits - exponent;
43 // Insert the exponent
44 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsisf.c29 const int exponent = (aWidth - 1) - __builtin_clz(a); local
33 if (exponent <= significandBits) {
34 const int shift = significandBits - exponent;
37 const int shift = exponent - significandBits;
46 // Insert the exponent
47 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsidf.c36 const int exponent = (aWidth - 1) - clzsi(a); local
42 const int shift = significandBits - exponent;
45 // Insert the exponent
46 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsidf.c29 const int exponent = (aWidth - 1) - clzsi(a); local
33 const int shift = significandBits - exponent;
36 // Insert the exponent
37 result += (rep_t)(exponent + exponentBias) << significandBits;
/freebsd-head/contrib/binutils/gas/
H A Dflonum.h57 long exponent; /* base LITTLENUM_RADIX */ member in struct:FLONUM_STRUCT
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...]
/freebsd-head/contrib/binutils/libiberty/
H A Dcopysign.c11 unsigned int exponent: 11; member in struct:__anon770::__anon771
21 unsigned int exponent: 11; member in struct:__anon770::__anon772
54 unsigned int exponent :11; member in struct:__anon774::__anon775
69 unsigned int exponent: 11; member in struct:__anon774::__anon776
91 unsigned int exponent: 8; member in struct:__anon778::__anon779
98 unsigned int exponent:8; member in struct:__anon778::__anon780
116 unsigned int exponent: 8; member in struct:__anon781::__anon782
124 unsigned int exponent:8; member in struct:__anon781::__anon783
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-head/contrib/gdb/gdb/gdbserver/
H A Di387-fp.c200 unsigned int exponent; local
205 exponent = (((raw[9] & 0x7f) << 8) | raw[8]);
210 if (exponent == 0x7fff)
215 else if (exponent == 0x0000)
/freebsd-head/contrib/bc/tests/
H A Drandmath.py101 if op >= exponent:
144 if op == exponent:
219 "sqrt", "exponent", "log", "arctangent", "sine", "cosine", "bessel" ]
233 exponent = 8 variable
/freebsd-head/contrib/gdb/gdb/
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...]
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...]
/freebsd-head/contrib/ntp/libparse/
H A Dieee754io.c177 long exponent; local
313 exponent = characteristic - bias;
315 if (exponent > 31) /* sorry - hardcoded */
326 frac_offset = mbits - exponent;
420 long exponent; local
471 exponent = mantissa_high = mantissa_low = 0; /* true zero */
530 exponent = msb - 32;
531 characteristic = exponent + bias;
/freebsd-head/lib/libc/stdio/
H A Dprintfcommon.h60 static int exponent(CHAR *, int, CHAR);
274 exponent(CHAR *p0, int exp, CHAR fmtch) function
H A Dxprintf_float.c86 exponent(char *p0, int expo, int fmtch) function
145 * D: expchar holds this character; '\0' if no exponent, e.g. %f
154 char expchar; /* exponent character: [eEpP\0] */
156 int expt; /* integer value of exponent */
163 char expstr[MAXEXPDIG+2]; /* buffer for exponent string: e+ZZZ */
295 expsize = exponent(expstr, expt - 1, expchar);
/freebsd-head/contrib/unbound/sldns/
H A Dkeyraw.c67 /* big exponent */
273 BIGNUM *exponent; local
293 exponent = BN_new();
294 if(!exponent) return NULL;
295 (void) BN_bin2bn(key+offset, (int)exp, exponent);
301 BN_free(exponent);
309 BN_free(exponent);
316 rsa->e = exponent;
320 if (!RSA_set0_key(rsa, modulus, exponent, NULL)) {
321 BN_free(exponent);
[all...]
/freebsd-head/usr.bin/dc/
H A Dinout.c226 BIGNUM *base_n, *exponent; local
231 exponent = BN_new();
234 bn_check(BN_zero(exponent));
237 bn_check(BN_add_word(exponent, iscale));
238 bn_check(BN_exp(divisor->number, base_n, exponent, ctx));
257 BN_free(exponent);
/freebsd-head/stand/ficl/
H A Dfloat.c842 FICL_INT exponent = 0; local
925 /* Start processing the exponent part of number. */
942 ** Processing the exponent part of number.
951 exponent = exponent * 10 + digit;
958 /* If parser never made it to the exponent this is not a float. */
966 /* If exponent is not 0 then adjust number by it. */
967 if (exponent != 0)
969 /* Determine if exponent is negative. */
972 exponent
[all...]
/freebsd-head/contrib/ntp/ntpd/
H A Drefclock_palisade.c1517 int8_t exponent; local
1524 exponent = (int8_t)exp_field - 127;
1526 if (exponent > 23)
1527 res = (int32)(mantissa << (exponent - 23));
1529 res = (int32)(mantissa >> (23 - exponent));
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.cpp623 int8_t exponent = process_sp->ReadUnsignedIntegerFromMemory( local
658 stream.Printf("%" PRIu64 " x 10^%" PRIi8, mantissa, exponent);
751 uint64_t exponent : 11; // signed member in struct:DoubleBits
757 uint64_t exponent : 7; // signed member in struct:TaggedDoubleBits
763 // Tagged exponent field is 7-bit signed. Sign-extend the value to 64 bits
783 decodedBits.exponent = decodeExponent(encodedBits.exponent);
/freebsd-head/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp93 bits of mantissa and 11 bits of exponent.
242 /* Return the value of a decimal exponent of the form
245 If the exponent overflows, returns a large exponent with the
254 // Treat no exponent as 0 to match binutils
268 return createError("Invalid character in exponent");
275 return createError("Invalid character in exponent");
297 int exponent = 0; local
316 return createError("Invalid character in exponent");
329 exponent
380 int exponent; member in struct:llvm::decimalInfo
[all...]

Completed in 104 milliseconds

12