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

123

/freebsd-current/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) - clzsi(a); local
32 const int shift = significandBits - exponent;
35 // Insert the exponent
36 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatunsisf.c29 const int exponent = (aWidth - 1) - clzsi(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 Dfloatsisf.c37 const int exponent = (aWidth - 1) - clzsi(aAbs); local
41 if (exponent <= significandBits) {
42 const int shift = significandBits - exponent;
45 const int shift = exponent - significandBits;
54 // Insert the exponent
55 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;
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 Dfloatsidf.c37 const int exponent = (aWidth - 1) - clzsi(aAbs); local
43 const int shift = significandBits - exponent;
46 // Insert the exponent
47 result += (rep_t)(exponent + exponentBias) << significandBits;
H A Dfloatsitf.c36 const int exponent = (aWidth - 1) - clzsi(aAbs); local
40 const int shift = significandBits - exponent;
43 // Insert the exponent
44 result += (rep_t)(exponent + exponentBias) << significandBits;
/freebsd-current/contrib/arm-optimized-routines/math/
H A Dtgamma128.c15 * exponent, which is done here by simple and portable (but
156 * the same exponent (unless x=2, in which case it will still be
176 * Start by extracting the number's sign and exponent, and ruling
189 int exponent; local
202 exponent = -16384;
205 frexpl(x, &exponent);
206 exponent--;
274 if (exponent >= 11) {
286 } else if (exponent >= 3) {
289 } else if (exponent <
[all...]
/freebsd-current/crypto/openssl/crypto/bn/
H A Drsaz_exp.h30 const BN_ULONG exponent[16],
36 const BN_ULONG base_norm[8], const BN_ULONG exponent[8],
H A Drsaz_exp.c58 const BN_ULONG exponent[16],
210 p_str = (unsigned char *)exponent;
263 const BN_ULONG base[8], const BN_ULONG exponent[8],
270 unsigned char *p_str = (unsigned char *)exponent;
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dtwt.c22 * @exponent: Wake-interval exponent
29 int wpas_twt_send_setup(struct wpa_supplicant *wpa_s, u8 dtok, int exponent, argument
55 "TWT: Setup request, dtok: %d exponent: %d mantissa: %d min-twt: %d",
56 dtok, exponent, mantissa, min_twt);
78 req_type |= (exponent & 0x1f) << 10; /* TWT Wake Interval Exponent */
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp59 // exponent field is all 1s. In such cases, a value is Inf if the
79 // exponent is all 1s and the significand is non-zero.
83 // represented by having the exponent and mantissa set to all 1s.
91 // where NaN is represented by a sign bit of 1 and all 0s in the exponent
159 bits of mantissa and 11 bits of exponent.
324 // with a larger exponent range.
372 /* Return the value of a decimal exponent of the form
375 If the exponent overflows, returns a large exponent with the
384 // Treat no exponent a
427 int exponent = 0; local
510 int exponent; member in struct:llvm::decimalInfo
[all...]
/freebsd-current/contrib/ntp/libparse/
H A Dieee754io.c175 long exponent; local
311 exponent = characteristic - bias;
313 if (exponent > 31) /* sorry - hardcoded */
324 frac_offset = mbits - exponent;
433 long exponent; local
484 exponent = mantissa_high = mantissa_low = 0; /* true zero */
543 exponent = msb - 32;
544 characteristic = exponent + bias;
/freebsd-current/contrib/arm-optimized-routines/math/test/rtest/
H A Dsemi.c16 int ex = (in[0] >> 20) & 0x7FF; /* exponent */
79 int ex = (*in >> 23) & 0xFF; /* exponent */
275 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
353 int ex = (*x >> 23) & 0xFF; /* exponent */
420 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
458 int ex = (*x >> 23) & 0xFF; /* exponent */
490 int ex = (x[0] >> 20) & 0x7FF; /* exponent */
527 int ex = (*x >> 23) & 0xFF; /* exponent */
583 /* Being finite means that the exponent is not 0x7ff */
591 /* Being finite means that the exponent i
618 int exponent = x[0] & 0x7f800000; local
628 int exponent = x[0] & 0x7ff00000; local
639 int exponent = x[0] & 0x7f800000; local
649 int exponent = x[0] & 0x7ff00000; local
672 int exponent = (x[0] & 0x7ff00000) >> 20; local
685 int exponent = (x[0] & 0x7f800000) >> 23; local
[all...]
/freebsd-current/contrib/ntp/libntp/
H A Dsnprintf.c90 * requires libm on most operating systems. Don't yet support the exponent
1106 int exponent = 0; local
1158 * and on the exponent. However, the exponent can be
1162 * (in order to get the exponent calculated). For
1174 exponent = getexponent(fvalue);
1201 ufvalue /= mypow10(exponent);
1230 * part must be set to one and the exponent must be
1234 exponent++;
1239 * Now that we know the real exponent, w
1417 int exponent = 0; local
1482 mypow10(int exponent) argument
[all...]
/freebsd-current/sys/dev/qat/qat_api/include/lac/
H A Dcpa_cy_ln.h104 * following is largest: the modulus, the base or the exponent.
112 * The values of the base, the exponent and the modulus MUST all be less
125 CpaFlatBuffer exponent; member in struct:_CpaCyLnModExpOpData
126 /**< Flat buffer containing a pointer to the exponent.
252 * result = (base ^ exponent) mod modulus
/freebsd-current/usr.bin/dc/
H A Dinout.c224 BIGNUM *base_n, *exponent; local
229 exponent = BN_new();
232 BN_zero(exponent);
235 bn_check(BN_add_word(exponent, iscale));
236 bn_check(BN_exp(divisor->number, base_n, exponent, ctx));
255 BN_free(exponent);
/freebsd-current/contrib/bc/vs/tests/
H A Dtests_bc.bat26 exponent
/freebsd-current/sys/x86/linux/
H A Dlinux_x86_sigframe.h88 u_int16_t exponent; member in struct:l_fpreg
93 u_int16_t exponent; member in struct:l_fpxreg
/freebsd-current/lib/libc/stdio/
H A Dprintfcommon.h58 static int exponent(CHAR *, int, CHAR);
286 exponent(CHAR *p0, int exp, CHAR fmtch) function
/freebsd-current/crypto/openssh/
H A Dssh-ecdsa.c204 BIGNUM *exponent = NULL; local
210 if ((r = sshbuf_get_bignum2(b, &exponent)) != 0)
212 if (EC_KEY_set_private_key(key->ecdsa, exponent) != 1) {
221 BN_clear_free(exponent);
/freebsd-current/stand/ficl/
H A Dfloat.c841 FICL_INT exponent = 0; local
924 /* Start processing the exponent part of number. */
941 ** Processing the exponent part of number.
950 exponent = exponent * 10 + digit;
957 /* If parser never made it to the exponent this is not a float. */
965 /* If exponent is not 0 then adjust number by it. */
966 if (exponent != 0)
968 /* Determine if exponent is negative. */
971 exponent
[all...]
/freebsd-current/lib/libc/resolv/
H A Dres_debug.c756 int mantissa, exponent; local
759 exponent = (int)((prec >> 0) & 0x0f) % 10;
761 val = mantissa * poweroften[exponent];
773 int exponent; local
792 for (exponent = 0; exponent < 9; exponent++)
793 if (cmval < poweroften[exponent+1])
796 mantissa = cmval / poweroften[exponent];
800 retval = (mantissa << 4) | exponent;
[all...]
/freebsd-current/contrib/unbound/sldns/
H A Dkeyraw.c71 /* big exponent */
374 /* Retrieve params as BIGNUM from raw buffer, n is modulus, e is exponent */
422 BIGNUM* exponent = NULL; local
424 if(!sldns_key_rsa_buf_bignum(key, len, &modulus, &exponent))
428 BN_free(exponent);
436 rsa->e = exponent;
440 if (!RSA_set0_key(rsa, modulus, exponent, NULL)) {
441 BN_free(exponent);

Completed in 343 milliseconds

123