Searched refs:exponent (Results 26 - 50 of 88) sorted by path

1234

/linux-master/arch/parisc/math-emu/
H A Dsgl_float.h33 /* The hidden bit is always the low bit of the exponent */
151 /* An infinity is represented with the max exponent and a zero mantissa */
182 #define Sgl_setwrapped_exponent(sgl_value,exponent,op) \
183 Deposit_sexponent(sgl_value,(exponent op SGL_WRAP))
249 #define Sgl_normalize(sgl_opnd,exponent) \
252 exponent -= 8; \
256 exponent -= 4; \
260 exponent -= 1; \
289 #define Sgl_denormalize(opnd,exponent,guard,sticky,inexact) \
291 if (exponent >
[all...]
/linux-master/arch/x86/math-emu/
H A Dfpu_emu.h31 #define EXP_OVER Const(0x4000) /* smallest invalid large exponent */
32 #define EXP_UNDER Const(-0x3fff) /* largest invalid small exponent */
39 #define EXTENDED_Emin (-0x3ffe) /* smallest valid exponent */
176 #define exponent(x) (((*(short *)&((x)->exp)) & 0x7fff) - EXTENDED_Ebias) macro
184 #define isdenormal(ptr) (exponent(ptr) == EXP_BIAS+EXP_UNDER)
H A Dfpu_etc.c110 && (exponent(st0_ptr) == EXP_OVER))
H A Dfpu_tags.c64 int exp = exponent(ptr);
77 return ((exponent(ptr) == EXP_BIAS + EXP_OVER)
H A Dpoly_2xm1.c55 long int exponent, shift; local
60 exponent = exponent16(arg);
63 if (exponent >= 0) { /* Don't want a |number| >= 1.0 */
73 if (exponent == -1) {
76 exponent -= 2;
79 } else if (exponent == -2) {
82 exponent--;
88 if (exponent < -2) {
90 if (FPU_shrx(&Xll, -2 - exponent) >= 0x80000000U)
100 add_two_Xsig(&accumulator, &argSignif, &exponent);
[all...]
H A Dpoly_atan.c56 int exponent; local
64 exponent = exponent(st0_ptr);
68 exponent = exponent16(st0_ptr);
71 exponent -= exponent(st1_ptr);
75 exponent -= exponent16(st1_ptr);
78 if ((exponent < 0) || ((exponent == 0) &&
88 exponent
[all...]
H A Dpoly_l2.c29 long int exponent, expon, expon_expon; local
35 exponent = exponent16(st0_ptr);
42 exponent++;
60 if (exponent < 0) {
62 exponent = -exponent;
65 expon_accum.msw = exponent;
67 if (exponent) {
110 long int exponent; local
114 log2_kernel(st0_ptr, sign0, &accumulator, &exponent);
185 long int exponent, adj; local
[all...]
H A Dpoly_sin.c60 int exponent, echange; local
66 exponent = exponent(st0_ptr);
72 if ((exponent < -1)
73 || ((exponent == -1) && (st0_ptr->sigh <= 0xe21240aa))) {
80 shr_Xsig(&argSqrd, 2 * (-1 - exponent));
102 exponent = 3 * exponent;
104 /* The minimum exponent difference is 3 */
105 shr_Xsig(&accumulator, exponent(st0_pt
204 long int exponent, exp2, echange; local
[all...]
H A Dpoly_tan.c53 long int exponent; local
59 exponent = exponent(st0_ptr);
69 if ((exponent == 0)
70 || ((exponent == -1) && (st0_ptr->sigh > 0xc90fdaa2))) {
76 if (exponent == 0) {
94 exponent = -1 + norm_Xsig(&argSignif);
100 if (exponent < -1) {
102 if (FPU_shrx(&XSIG_LL(accum), -1 - exponent) >=
138 shr_Xsig(&accumulatore, -2 * (1 + exponent)
[all...]
H A Dreg_add_sub.c48 expa = exponent(a);
49 expb = exponent(b);
163 expa = exponent(a);
164 expb = exponent(b);
H A Dreg_compare.c96 unsupported = !((exponent(st0_ptr) == EXP_OVER)
103 unsupported |= !((exponent(b) == EXP_OVER)
130 exp0 = exponent(st0_ptr);
131 expb = exponent(b);
H A Dreg_convert.c23 /* Set up the exponent as a 16 bit quantity. */
24 setexponent16(x, exponent(a));
28 /* We only deal with the significand and exponent. */
H A Dreg_mul.c44 exponent(a) + exponent(b));
H A Derrors.c197 exponent(r) - EXP_BIAS + 1);
378 isNaN = (exponent(a) == EXP_OVER) && (a->sigh & 0x80000000);
429 && !((exponent(a) == EXP_OVER)
432 && !((exponent(b) == EXP_OVER) && (b->sigh & 0x80000000)));
583 /* Subtract the magic number from the exponent */
615 /* Add the magic number to the exponent. */
H A Dfpu_trig.c42 if (exponent(st0_ptr) >= 63) {
61 q, exponent(st0_ptr) - exponent(&CONST_PI2));
62 setexponent16(&tmp, exponent(&CONST_PI2));
77 if ((exponent(st0_ptr) <= exponent(&CONST_PI2extra) + 64)
88 exponent(&CONST_PI2extra) +
89 exponent(&tmp));
110 && (exponent(st0_ptr) <= exponent(
1028 FPU_REG *st1_ptr = &st(1), exponent; local
[all...]
H A Dreg_ld_str.c31 #define DOUBLE_Emax 1023 /* largest valid exponent */
33 #define DOUBLE_Emin (-1022) /* smallest valid exponent */
35 #define SINGLE_Emax 127 /* largest valid exponent */
37 #define SINGLE_Emin (-126) /* smallest valid exponent */
391 exp = exponent(&tmp);
489 /* Add the exponent */
512 if ((exponent(st0_ptr) == EXP_OVER)
575 exp = exponent(&tmp);
670 /* Add the exponent */
694 if ((exponent(st0_pt
[all...]
/linux-master/drivers/isdn/mISDN/
H A Ddsp_audio.c124 int sign, exponent, mantissa; local
134 exponent = exp_lut[(sample >> 7) & 0xFF];
135 mantissa = (sample >> (exponent + 3)) & 0x0F;
136 ulawbyte = ~(sign | (exponent << 4) | mantissa);
/linux-master/drivers/usb/host/
H A Duhci-q.c1084 int exponent; local
1087 for (exponent = 7; exponent >= 0; --exponent) {
1088 if ((1 << exponent) <= urb->interval)
1091 if (exponent < 0)
1096 qh->period = 1 << exponent;
1097 qh->skel = SKEL_INDEX(exponent);
1104 } while (ret != 0 && --exponent >= 0);
/linux-master/arch/arm/include/asm/
H A Duser.h39 unsigned int exponent:14; member in struct:user_fp::fp_reg
/linux-master/arch/arm/vfp/
H A Dvfp.h150 s16 exponent; member in struct:vfp_single
160 * VFP_SINGLE_EXPONENT_BITS - number of bits in the exponent
193 s->exponent = vfp_single_packed_exponent(val);
197 if (s->exponent && s->exponent != 255)
210 (s->exponent << VFP_SINGLE_MANTISSA_BITS) +
228 if (s->exponent == 255) {
235 } else if (s->exponent == 0) {
255 s16 exponent; member in struct:vfp_double
302 s->exponent
[all...]
/linux-master/arch/x86/include/asm/
H A Dsgx.h386 * @exponent: the exponent of the public key
398 u32 exponent; member in struct:sgx_sigstruct
/linux-master/arch/x86/include/uapi/asm/
H A Dsigcontext.h87 __u16 exponent; member in struct:_fpreg
93 __u16 exponent; member in struct:_fpxreg
/linux-master/arch/x86/kernel/fpu/
H A Dregset.c298 switch (st->exponent & 0x7fff) {
/linux-master/arch/x86/um/
H A Dsignal.c52 switch (st->exponent & 0x7fff) {
110 __put_user(from->exponent, &to->exponent))
144 __get_user(to->exponent, &from->exponent))
/linux-master/drivers/clk/ti/
H A Ddpll3xxx.c305 u32 v, ctrl, mod_freq_divider, exponent, mantissa; local
325 exponent = 0;
327 while ((mantissa > 127) && (exponent < 7)) {
328 exponent++;
337 v |= exponent << __ffs(dd->ssc_modfreq_exp_mask);

Completed in 3607 milliseconds

1234