Lines Matching refs:src_exponent
41 register int src_exponent; in sgl_frnd() local
48 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_frnd()
68 if ((src_exponent -= SGL_BIAS) >= SGL_P - 1) { in sgl_frnd()
75 if (src_exponent >= 0) { in sgl_frnd()
78 Sgl_rightshift(result,(SGL_P-1) - (src_exponent)); in sgl_frnd()
80 if (Sgl_isinexact_to_fix(src,src_exponent)) { in sgl_frnd()
91 if (Sgl_isone_roundbit(src,src_exponent)) in sgl_frnd()
92 if (Sgl_isone_stickybit(src,src_exponent) in sgl_frnd()
97 Sgl_leftshift(result,(SGL_P-1) - (src_exponent)); in sgl_frnd()
99 Sgl_set_exponent(result,src_exponent + (SGL_BIAS+1)); in sgl_frnd()
100 else Sgl_set_exponent(result,src_exponent + SGL_BIAS); in sgl_frnd()
119 if (src_exponent == -1) in sgl_frnd()
146 register int src_exponent; in dbl_frnd() local
153 if ((src_exponent = Dbl_exponent(srcp1)) == DBL_INFINITY_EXPONENT) { in dbl_frnd()
173 if ((src_exponent -= DBL_BIAS) >= DBL_P - 1) { in dbl_frnd()
180 if (src_exponent >= 0) { in dbl_frnd()
184 Dbl_rightshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd()
186 if (Dbl_isinexact_to_fix(srcp1,srcp2,src_exponent)) { in dbl_frnd()
199 if (Dbl_isone_roundbit(srcp1,srcp2,src_exponent)) in dbl_frnd()
200 if (Dbl_isone_stickybit(srcp1,srcp2,src_exponent) in dbl_frnd()
205 Dbl_leftshift(resultp1,resultp2,(DBL_P-1) - (src_exponent)); in dbl_frnd()
207 Dbl_set_exponent(resultp1,src_exponent + (DBL_BIAS+1)); in dbl_frnd()
208 else Dbl_set_exponent(resultp1,src_exponent + DBL_BIAS); in dbl_frnd()
227 if (src_exponent == -1) in dbl_frnd()