Lines Matching refs:rsize
657 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \ argument
668 else if (X##_e >= rsize - (rsigned > 0 || X##_s) \
676 || X##_e >= rsize - 1 + _FP_WFRACBITS_##fs) \
681 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
687 r <<= rsize - 1; \
700 if (_FP_W_TYPE_SIZE*wc < rsize) \
702 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
717 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
726 #define _FP_TO_INT_ROUND(fs, wc, r, X, rsize, rsigned) \ argument
734 if (X##_e < rsize - 1 + _FP_WFRACBITS_##fs) \
738 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
745 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
763 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
767 if (X##_e >= rsize - (rsigned > 0 || X##_s) \
781 r <<= rsize - 1; \
792 #define _FP_FROM_INT(fs, wc, X, r, rsize, rtype) \ argument
803 (void) (((rsize) <= _FP_W_TYPE_SIZE) \
809 if (rsize < _FP_W_TYPE_SIZE) \
810 X##_e -= (_FP_W_TYPE_SIZE - rsize); \
811 X##_e = rsize - X##_e - 1; \
813 if (_FP_FRACBITS_##fs < rsize && _FP_WFRACBITS_##fs <= X##_e) \
814 __FP_FRAC_SRS_1(ur_, (X##_e - _FP_WFRACBITS_##fs + 1), rsize);\
815 _FP_FRAC_DISASSEMBLE_##wc(X, ur_, rsize); \