/src/sys/arch/hppa/spmath/ |
sfsqrt.c | 60 register int src_exponent, newbit, sum; local in function:sgl_fsqrt 67 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { 112 if (src_exponent > 0) { 119 src_exponent++; 120 Sgl_normalize(src,src_exponent); 121 even_exponent = src_exponent & 1; 172 if (Sgl_isone_hiddenoverflow(result)) src_exponent+=2; 176 ((src_exponent-SGL_BIAS)>>1)+SGL_BIAS); 185 Sgl_set_exponent(result,((src_exponent-SGL_BIAS)>>1)+SGL_BIAS);
|
dfsqrt.c | 61 register int src_exponent; local in function:dbl_fsqrt 68 if ((src_exponent = Dbl_exponent(srcp1)) == DBL_INFINITY_EXPONENT) { 114 if (src_exponent > 0) { 121 src_exponent++; 122 Dbl_normalize(srcp1,srcp2,src_exponent); 123 even_exponent = src_exponent & 1; 181 if (Dbl_isone_hiddenoverflow(resultp1)) src_exponent+=2; 185 ((src_exponent-DBL_BIAS)>>1)+DBL_BIAS); 194 Dbl_set_exponent(resultp1,((src_exponent-DBL_BIAS)>>1)+DBL_BIAS);
|
fcnvff.c | 61 register int src_exponent; local in function:sgl_to_dbl_fcnvff 64 src_exponent = Sgl_exponent(src); 69 if (src_exponent == SGL_INFINITY_EXPONENT) { 107 if (src_exponent == 0) { 117 Sgl_normalize(src,src_exponent); 118 Sgl_to_dbl_exponent(src_exponent,resultp1); 130 Sgl_to_dbl_exponent(src_exponent, resultp1); 145 register int src_exponent, dest_exponent, dest_mantissa; local in function:dbl_to_sgl_fcnvff 151 src_exponent = Dbl_exponent(srcp1); 156 if (src_exponent == DBL_INFINITY_EXPONENT) [all...] |
fcnvfx.c | 60 register int src_exponent, result; local in function:sgl_to_sgl_fcnvfx 64 src_exponent = Sgl_exponent(src) - SGL_BIAS; 69 if (src_exponent > SGL_FX_MAX_EXP) { 71 if ((src_exponent > SGL_FX_MAX_EXP + 1) || 87 if (src_exponent >= 0) { 90 Int_from_sgl_mantissa(temp,src_exponent); 95 if (Sgl_isinexact_to_fix(src,src_exponent)) { 106 if (Sgl_isone_roundbit(src,src_exponent)) { 107 if (Sgl_isone_stickybit(src,src_exponent) 131 if (src_exponent == -1 155 register int src_exponent, resultp1; local in function:sgl_to_dbl_fcnvfx 277 register int src_exponent, result; local in function:dbl_to_sgl_fcnvfx 395 register int src_exponent, resultp1; local in function:dbl_to_dbl_fcnvfx [all...] |
fcnvfxt.c | 62 register int src_exponent, result; local in function:sgl_to_sgl_fcnvfxt 65 src_exponent = Sgl_exponent(src) - SGL_BIAS; 70 if (src_exponent > SGL_FX_MAX_EXP) { 72 if ((src_exponent > SGL_FX_MAX_EXP + 1) || 88 if (src_exponent >= 0) { 91 Int_from_sgl_mantissa(temp,src_exponent); 97 if (Sgl_isinexact_to_fix(src,src_exponent)) { 122 register int src_exponent, resultp1; local in function:sgl_to_dbl_fcnvfxt 126 src_exponent = Sgl_exponent(src) - SGL_BIAS; 131 if (src_exponent > DBL_FX_MAX_EXP) 195 register int src_exponent, result; local in function:dbl_to_sgl_fcnvfxt 256 register int src_exponent, resultp1; local in function:dbl_to_dbl_fcnvfxt [all...] |
frnd.c | 63 register int src_exponent; local in function:sgl_frnd 70 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { 90 if ((src_exponent -= SGL_BIAS) >= SGL_P - 1) { 97 if (src_exponent >= 0) { 100 Sgl_rightshift(result,(SGL_P-1) - (src_exponent)); 102 if (Sgl_isinexact_to_fix(src,src_exponent)) { 113 if (Sgl_isone_roundbit(src,src_exponent)) 114 if (Sgl_isone_stickybit(src,src_exponent) 119 Sgl_leftshift(result,(SGL_P-1) - (src_exponent)); 121 Sgl_set_exponent(result,src_exponent + (SGL_BIAS+1)) 165 register int src_exponent; local in function:dbl_frnd [all...] |