Lines Matching full:fe

76 round(struct fpemu *fe, struct fpn *fp)  in round()  argument
98 fe->fe_cx |= FPSCR_XX|FPSCR_FI; /* inexact */ in round()
101 switch ((fe->fe_fpscr) & FPSCR_RN) { in round()
133 fe->fe_cx |= FPSCR_FR; in round()
159 toinf(struct fpemu *fe, int sign) in toinf() argument
164 switch ((fe->fe_fpscr) & FPSCR_RN) { in toinf()
183 fe->fe_cx |= FPSCR_OX; in toinf()
194 fpu_ftoi(struct fpemu *fe, struct fpn *fp) in fpu_ftoi() argument
219 fe->fe_cx |= FPSCR_UX; in fpu_ftoi()
229 fe->fe_cx |= FPSCR_VXCVI; in fpu_ftoi()
240 fpu_ftox(struct fpemu *fe, struct fpn *fp, u_int *res) in fpu_ftox() argument
266 fe->fe_cx |= FPSCR_UX; in fpu_ftox()
276 fe->fe_cx |= FPSCR_VXCVI; in fpu_ftox()
285 fpu_ftos(struct fpemu *fe, struct fpn *fp) in fpu_ftos() argument
333 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(1)) in fpu_ftos()
335 if ((fe->fe_cx & FPSCR_FI) || in fpu_ftos()
336 (fe->fe_fpscr & FPSCR_UX)) in fpu_ftos()
337 fe->fe_cx |= FPSCR_UX; in fpu_ftos()
346 if (round(fe, fp) && fp->fp_mant[3] == SNG_EXP(2)) in fpu_ftos()
350 if (toinf(fe, sign)) in fpu_ftos()
366 fpu_ftod(struct fpemu *fe, struct fpn *fp, u_int *res) in fpu_ftod() argument
390 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(1)) { in fpu_ftod()
394 if ((fe->fe_cx & FPSCR_FI) || in fpu_ftod()
395 (fe->fe_fpscr & FPSCR_UX)) in fpu_ftod()
396 fe->fe_cx |= FPSCR_UX; in fpu_ftod()
401 if (round(fe, fp) && fp->fp_mant[2] == DBL_EXP(2)) in fpu_ftod()
404 fe->fe_cx |= FPSCR_OX | FPSCR_UX; in fpu_ftod()
405 if (toinf(fe, sign)) { in fpu_ftod()
421 fpu_implode(struct fpemu *fe, struct fpn *fp, int type, u_int *space) in fpu_implode() argument
426 space[0] = fpu_ftox(fe, fp, space); in fpu_implode()
433 space[1] = fpu_ftoi(fe, fp); in fpu_implode()
439 space[0] = fpu_ftos(fe, fp); in fpu_implode()
445 space[0] = fpu_ftod(fe, fp, space); in fpu_implode()