Home
last modified time | relevance | path

Searched refs:src_exponent (Results 1 – 9 of 9) sorted by relevance

/linux/arch/parisc/math-emu/
A Dfcnvfxt.c53 register int src_exponent, result; in sgl_to_sgl_fcnvfxt() local
61 if (src_exponent > SGL_FX_MAX_EXP) { in sgl_to_sgl_fcnvfxt()
79 if (src_exponent >= 0) { in sgl_to_sgl_fcnvfxt()
116 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfxt() local
125 if (src_exponent > DBL_FX_MAX_EXP) { in sgl_to_dbl_fcnvfxt()
151 if (src_exponent >= 0) { in sgl_to_dbl_fcnvfxt()
191 register int src_exponent, result; in dbl_to_sgl_fcnvfxt() local
199 if (src_exponent > SGL_FX_MAX_EXP) { in dbl_to_sgl_fcnvfxt()
216 if (src_exponent >= 0) { in dbl_to_sgl_fcnvfxt()
255 register int src_exponent, resultp1; in dbl_to_dbl_fcnvfxt() local
[all …]
A Dfcnvfx.c52 register int src_exponent, result; in sgl_to_sgl_fcnvfx() local
61 if (src_exponent > SGL_FX_MAX_EXP) { in sgl_to_sgl_fcnvfx()
79 if (src_exponent >= 0) { in sgl_to_sgl_fcnvfx()
122 if (src_exponent == -1) in sgl_to_sgl_fcnvfx()
148 register int src_exponent, resultp1; in sgl_to_dbl_fcnvfx() local
158 if (src_exponent > DBL_FX_MAX_EXP) { in sgl_to_dbl_fcnvfx()
184 if (src_exponent >= 0) { in sgl_to_dbl_fcnvfx()
270 register int src_exponent, result; in dbl_to_sgl_fcnvfx() local
279 if (src_exponent > SGL_FX_MAX_EXP) { in dbl_to_sgl_fcnvfx()
296 if (src_exponent >= 0) { in dbl_to_sgl_fcnvfx()
[all …]
A Dfcnvfu.c53 register int src_exponent; in sgl_to_sgl_fcnvfu() local
78 if (src_exponent >= 0) { in sgl_to_sgl_fcnvfu()
138 if (src_exponent == -1 && in sgl_to_sgl_fcnvfu()
173 register int src_exponent; in sgl_to_dbl_fcnvfu() local
199 if (src_exponent >= 0) { in sgl_to_dbl_fcnvfu()
259 if (src_exponent == -1 && in sgl_to_dbl_fcnvfu()
292 register int src_exponent; in dbl_to_sgl_fcnvfu() local
317 if (src_exponent >= 0) { in dbl_to_sgl_fcnvfu()
384 if (src_exponent == -1 && in dbl_to_sgl_fcnvfu()
414 register int src_exponent; in dbl_to_dbl_fcnvfu() local
[all …]
A Dfrnd.c41 register int src_exponent; in sgl_frnd() local
68 if ((src_exponent -= SGL_BIAS) >= SGL_P - 1) { in sgl_frnd()
75 if (src_exponent >= 0) { 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()
97 Sgl_leftshift(result,(SGL_P-1) - (src_exponent)); in sgl_frnd()
119 if (src_exponent == -1) in sgl_frnd()
146 register int src_exponent; in dbl_frnd() local
173 if ((src_exponent -= DBL_BIAS) >= DBL_P - 1) { in dbl_frnd()
180 if (src_exponent >= 0) { in dbl_frnd()
[all …]
A Dfcnvfut.c51 register int src_exponent; in sgl_to_sgl_fcnvfut() local
59 if (src_exponent > SGL_FX_MAX_EXP + 1) { in sgl_to_sgl_fcnvfut()
75 if (src_exponent >= 0) { in sgl_to_sgl_fcnvfut()
119 register int src_exponent; in sgl_to_dbl_fcnvfut() local
128 if (src_exponent > DBL_FX_MAX_EXP + 1) { in sgl_to_dbl_fcnvfut()
144 if (src_exponent >= 0) { in sgl_to_dbl_fcnvfut()
190 register int src_exponent; in dbl_to_sgl_fcnvfut() local
198 if (src_exponent > SGL_FX_MAX_EXP + 1) { in dbl_to_sgl_fcnvfut()
214 if (src_exponent >= 0) { in dbl_to_sgl_fcnvfut()
258 register int src_exponent; in dbl_to_dbl_fcnvfut() local
[all …]
A Dsfsqrt.c45 register int src_exponent; in sgl_fsqrt() local
53 if ((src_exponent = Sgl_exponent(src)) == SGL_INFINITY_EXPONENT) { in sgl_fsqrt()
98 if (src_exponent > 0) { in sgl_fsqrt()
105 src_exponent++; in sgl_fsqrt()
106 Sgl_normalize(src,src_exponent); in sgl_fsqrt()
107 even_exponent = src_exponent & 1; in sgl_fsqrt()
158 if (Sgl_isone_hiddenoverflow(result)) src_exponent+=2; in sgl_fsqrt()
162 ((src_exponent-SGL_BIAS)>>1)+SGL_BIAS); in sgl_fsqrt()
171 Sgl_set_exponent(result,((src_exponent-SGL_BIAS)>>1)+SGL_BIAS); in sgl_fsqrt()
A Dfcnvff.c48 register int src_exponent; in sgl_to_dbl_fcnvff() local
51 src_exponent = Sgl_exponent(src); in sgl_to_dbl_fcnvff()
56 if (src_exponent == SGL_INFINITY_EXPONENT) { in sgl_to_dbl_fcnvff()
94 if (src_exponent == 0) { in sgl_to_dbl_fcnvff()
104 Sgl_normalize(src,src_exponent); in sgl_to_dbl_fcnvff()
105 Sgl_to_dbl_exponent(src_exponent,resultp1); in sgl_to_dbl_fcnvff()
117 Sgl_to_dbl_exponent(src_exponent, resultp1); in sgl_to_dbl_fcnvff()
135 register int src_exponent, dest_exponent, dest_mantissa; in dbl_to_sgl_fcnvff() local
141 src_exponent = Dbl_exponent(srcp1); in dbl_to_sgl_fcnvff()
146 if (src_exponent == DBL_INFINITY_EXPONENT) { in dbl_to_sgl_fcnvff()
[all …]
A Ddfsqrt.c46 register int src_exponent; in dbl_fsqrt() local
53 if ((src_exponent = Dbl_exponent(srcp1)) == DBL_INFINITY_EXPONENT) { in dbl_fsqrt()
99 if (src_exponent > 0) { in dbl_fsqrt()
106 src_exponent++; in dbl_fsqrt()
107 Dbl_normalize(srcp1,srcp2,src_exponent); in dbl_fsqrt()
108 even_exponent = src_exponent & 1; in dbl_fsqrt()
166 if (Dbl_isone_hiddenoverflow(resultp1)) src_exponent+=2; in dbl_fsqrt()
170 ((src_exponent-DBL_BIAS)>>1)+DBL_BIAS); in dbl_fsqrt()
179 Dbl_set_exponent(resultp1,((src_exponent-DBL_BIAS)>>1)+DBL_BIAS); in dbl_fsqrt()
A Dcnv_float.h39 #define Sgl_to_dbl_exponent(src_exponent,dest) \ argument
40 Deposit_dexponent(dest,src_exponent+(DBL_BIAS-SGL_BIAS))
85 #define Dbl_to_sgl_exponent(src_exponent,dest) \ argument
86 dest = src_exponent + (SGL_BIAS - DBL_BIAS)

Completed in 19 milliseconds