HomeSort by: relevance | last modified time | path
    Searched defs:exponent (Results 1 - 24 of 24) sorted by relevancy

  /src/lib/libc/gen/
floatunditf_ieee754.c 49 int exponent, zeros; local
58 exponent = 64 - zeros;
61 exponent = 63 - zeros;
65 ux.extu_exp = EXT_EXP_BIAS + exponent;
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
floatditf.c 36 // Exponent of (fp_t)a is the width of abs(a).
37 const int exponent = (aWidth - 1) - __builtin_clzll(aAbs); local
41 const int shift = significandBits - exponent;
44 // Insert the exponent
45 result += (rep_t)(exponent + exponentBias) << significandBits;
floatsidf.c 37 // Exponent of (fp_t)a is the width of abs(a).
38 const int exponent = (aWidth - 1) - __builtin_clz(a); local
44 const int shift = significandBits - exponent;
47 // Insert the exponent
48 result += (rep_t)(exponent + exponentBias) << significandBits;
floatsitf.c 36 // Exponent of (fp_t)a is the width of abs(a).
37 const int exponent = (aWidth - 1) - __builtin_clz(aAbs); local
41 const int shift = significandBits - exponent;
44 // Insert the exponent
45 result += (rep_t)(exponent + exponentBias) << significandBits;
floatunditf.c 27 // Exponent of (fp_t)a is the width of abs(a).
28 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;
floatunsidf.c 29 // Exponent of (fp_t)a is the width of abs(a).
30 const int exponent = (aWidth - 1) - __builtin_clz(a); local
34 const int shift = significandBits - exponent;
37 // Insert the exponent
38 result += (rep_t)(exponent + exponentBias) << significandBits;
floatunsitf.c 27 // Exponent of (fp_t)a is the width of abs(a).
28 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;
floatsisf.c 37 // Exponent of (fp_t)a is the width of abs(a).
38 const int exponent = (aWidth - 1) - __builtin_clz(a); local
42 if (exponent <= significandBits) {
43 const int shift = significandBits - exponent;
46 const int shift = exponent - significandBits;
53 // Insert the exponent
54 result += (rep_t)(exponent + exponentBias) << significandBits;
floatunsisf.c 29 // Exponent of (fp_t)a is the width of abs(a).
30 const int exponent = (aWidth - 1) - __builtin_clz(a); local
34 if (exponent <= significandBits) {
35 const int shift = significandBits - exponent;
38 const int shift = exponent - significandBits;
45 // Insert the exponent
46 result += (rep_t)(exponent + exponentBias) << significandBits;
  /src/sys/external/bsd/compiler_rt/dist/test/Unit/ppc/
qadd_test.c 266 // Some test cases that cover the whole exponent range:
1831 int exponent = ilogb(r.hi); local
1832 exponent = (exponent < -1022 ? -1022 : exponent);
1833 double ulpError = scalbn(error, 106 - exponent);
qdiv_test.c 754 int exponent = ilogb(r.hi); local
755 exponent = (exponent < -1022 ? -1022 : exponent);
756 double ulpError = scalbn(error, 106 - exponent);
qmul_test.c 752 int exponent = ilogb(r.hi); local
753 exponent = (exponent < -1022 ? -1022 : exponent);
754 double ulpError = scalbn(error, 106 - exponent);
qsub_test.c 268 // Some test cases that cover the whole exponent range:
1833 int exponent = ilogb(r.hi); local
1834 exponent = (exponent < -1022 ? -1022 : exponent);
1835 double ulpError = scalbn(error, 106 - exponent);
  /src/sys/external/bsd/compiler_rt/dist/test/builtins/Unit/ppc/
qadd_test.c 266 // Some test cases that cover the whole exponent range:
1831 int exponent = ilogb(r.hi); local
1832 exponent = (exponent < -1022 ? -1022 : exponent);
1833 double ulpError = scalbn(error, 106 - exponent);
qdiv_test.c 754 int exponent = ilogb(r.hi); local
755 exponent = (exponent < -1022 ? -1022 : exponent);
756 double ulpError = scalbn(error, 106 - exponent);
qmul_test.c 752 int exponent = ilogb(r.hi); local
753 exponent = (exponent < -1022 ? -1022 : exponent);
754 double ulpError = scalbn(error, 106 - exponent);
qsub_test.c 268 // Some test cases that cover the whole exponent range:
1833 int exponent = ilogb(r.hi); local
1834 exponent = (exponent < -1022 ? -1022 : exponent);
1835 double ulpError = scalbn(error, 106 - exponent);
  /src/usr.bin/sort/
fields.c 226 * Numbers are converted to a floating point format (exponent & mantissa)
231 * The first byte contain the overall sign, exponent sign and some of the
232 * exponent. These have to be ordered (-ve value, decreasing exponent),
233 * zero, (+ve value, increasing exponent).
235 * The first byte is 0x80 for zero, 0xc0 for +ve with exponent 0.
239 * The largest 4 exponent values are used to hold a byte count of the
240 * number of following bytes that contain 8 exponent bits per byte,
254 int exponent = -1; local
270 /* Ensure we have enough space for the exponent */
    [all...]
  /src/sys/compat/linux/arch/i386/
linux_machdep.h 105 unsigned short exponent; member in struct:linux_libc_fpreg
  /src/sys/compat/linux32/arch/amd64/
linux32_signal.h 129 unsigned short exponent; member in struct:linux32_libc_fpreg
  /src/lib/libc/resolv/
res_debug.c 776 int mantissa, exponent; local
779 exponent = (int)((prec >> 0) & 0x0f) % 10;
781 val = mantissa * poweroften[exponent];
793 int exponent; local
812 for (exponent = 0; exponent < 9; exponent++)
813 if (cmval < poweroften[exponent+1])
816 mantissa = cmval / poweroften[exponent];
820 retval = (mantissa << 4) | exponent;
    [all...]
  /src/sys/external/bsd/drm/dist/shared-core/
r600_blit.c 1648 u32 result, i, exponent, fraction; local
1653 exponent = 140; /* exponent biased by 127; */
1662 exponent = exponent -1;
1665 result = exponent << 23 | (fraction & 0x7fffff); /* mask
  /src/lib/libc/stdio/
vfwprintf.c 583 static int exponent(CHAR_T *, int, int);
645 * D: expchar holds this character; '\0' if no exponent, e.g. %f
658 int expt; /* integer value of exponent */
659 char expchar; /* exponent character: [eEpP\0] */
663 CHAR_T expstr[MAXEXPDIG+2]; /* buffer for exponent string: e+ZZZ */
1194 expsize = exponent(expstr, expt - 1, expchar);
1948 exponent(CHAR_T *p0, int expo, int fmtch) function
  /src/sbin/nvmectl/
bignum.c 3361 /* grab the next msb from the exponent */
3367 * in the exponent. Technically this opt is not required but it
4049 * The value of k changes based on the size of the exponent.
4187 /* grab the next msb from the exponent */
4193 * in the exponent. Technically this opt is not required but it
4311 /* if exponent X is negative we have to recurse */
5720 uint64_t exponent; local
5726 exponent = (uint64_t)strtoull(t, NULL, 10);
5728 if (exponent == 0) {
5732 for ( ; (exponent & 1) == 0 ; exponent >>= 1)
    [all...]

Completed in 65 milliseconds