Lines Matching refs:exponent
43 .exponent = 2047,
51 str, d->sign != 0, d->exponent, d->significand); in vfp_double_dump()
63 vd->exponent -= bits - 1; in vfp_double_normalise_denormal()
73 int exponent, shift, underflow; in vfp_double_normaliseround() local
81 if (vd->exponent == 2047 && (vd->significand == 0 || exceptions)) in vfp_double_normaliseround()
88 vd->exponent = 0; in vfp_double_normaliseround()
92 exponent = vd->exponent; in vfp_double_normaliseround()
99 exponent -= shift; in vfp_double_normaliseround()
104 vd->exponent = exponent; in vfp_double_normaliseround()
112 underflow = exponent < 0; in vfp_double_normaliseround()
114 significand = vfp_shiftright64jamming(significand, -exponent); in vfp_double_normaliseround()
115 exponent = 0; in vfp_double_normaliseround()
117 vd->exponent = exponent; in vfp_double_normaliseround()
146 exponent += 1; in vfp_double_normaliseround()
150 vd->exponent = exponent; in vfp_double_normaliseround()
171 if (exponent >= 2046) { in vfp_double_normaliseround()
174 vd->exponent = 2045; in vfp_double_normaliseround()
177 vd->exponent = 2047; /* infinity */ in vfp_double_normaliseround()
182 exponent = 0; in vfp_double_normaliseround()
183 if (exponent || significand > 0x8000000000000000ULL) in vfp_double_normaliseround()
187 vd->exponent = exponent; in vfp_double_normaliseround()
317 vdd.exponent = ((vdm.exponent - 1023) >> 1) + 1023; in vfp_double_fsqrt()
318 vdd.significand = (u64)vfp_estimate_sqrt_significand(vdm.exponent, vdm.significand >> 32) << 31; in vfp_double_fsqrt()
322 vdm.significand >>= 1 + (vdm.exponent & 1); in vfp_double_fsqrt()
466 vsd.exponent = 255; in vfp_double_fcvts()
471 vsd.exponent = 0; in vfp_double_fcvts()
473 vsd.exponent = vdm.exponent - (1023 - 127); in vfp_double_fcvts()
488 vdm.exponent = 1023 + 63 - 1; in vfp_double_fuito()
500 vdm.exponent = 1023 + 63 - 1; in vfp_double_fsito()
525 if (vdm.exponent >= 1023 + 32) { in vfp_double_ftoui()
528 } else if (vdm.exponent >= 1023 - 1) { in vfp_double_ftoui()
529 int shift = 1023 + 63 - vdm.exponent; in vfp_double_ftoui()
562 if (vdm.exponent | vdm.significand) { in vfp_double_ftoui()
605 } else if (vdm.exponent >= 1023 + 32) { in vfp_double_ftosi()
610 } else if (vdm.exponent >= 1023 - 1) { in vfp_double_ftosi()
611 int shift = 1023 + 63 - vdm.exponent; /* 58 */ in vfp_double_ftosi()
639 if (vdm.exponent | vdm.significand) { in vfp_double_ftosi()
743 if (vdn->exponent < vdm->exponent) { in vfp_double_add()
753 if (vdn->exponent == 2047) in vfp_double_add()
766 exp_diff = vdn->exponent - vdm->exponent; in vfp_double_add()
801 if (vdn->exponent < vdm->exponent) { in vfp_double_multiply()
813 if (vdn->exponent == 2047) { in vfp_double_multiply()
814 if (vdn->significand || (vdm->exponent == 2047 && vdm->significand)) in vfp_double_multiply()
816 if ((vdm->exponent | vdm->significand) == 0) { in vfp_double_multiply()
820 vdd->exponent = vdn->exponent; in vfp_double_multiply()
829 if ((vdm->exponent | vdm->significand) == 0) { in vfp_double_multiply()
830 vdd->exponent = 0; in vfp_double_multiply()
840 vdd->exponent = vdn->exponent + vdm->exponent - 1023 + 2; in vfp_double_multiply()
857 if (vdn.exponent == 0 && vdn.significand) in vfp_double_multiply_accumulate()
861 if (vdm.exponent == 0 && vdm.significand) in vfp_double_multiply_accumulate()
869 if (vdn.exponent == 0 && vdn.significand) in vfp_double_multiply_accumulate()
924 if (vdn.exponent == 0 && vdn.significand) in vfp_double_fmul()
928 if (vdm.exponent == 0 && vdm.significand) in vfp_double_fmul()
944 if (vdn.exponent == 0 && vdn.significand) in vfp_double_fnmul()
948 if (vdm.exponent == 0 && vdm.significand) in vfp_double_fnmul()
966 if (vdn.exponent == 0 && vdn.significand) in vfp_double_fadd()
970 if (vdm.exponent == 0 && vdm.significand) in vfp_double_fadd()
987 if (vdn.exponent == 0 && vdn.significand) in vfp_double_fsub()
991 if (vdm.exponent == 0 && vdm.significand) in vfp_double_fsub()
1066 vdd.exponent = vdn.exponent - vdm.exponent + 1023 - 1; in vfp_double_fdiv()
1070 vdd.exponent++; in vfp_double_fdiv()
1096 vdd.exponent = 0; in vfp_double_fdiv()
1103 vdd.exponent = 2047; in vfp_double_fdiv()