Lines Matching refs:rsize
993 * 0: the number is required to be 0..(2^rsize)-1, if not, NV is set plus
994 * the result is either 0 or (2^rsize)-1 depending on the sign in such
996 * 1: the number is required to be -(2^(rsize-1))..(2^(rsize-1))-1, if not,
997 * NV is set plus the result is either -(2^(rsize-1)) or (2^(rsize-1))-1
999 * -1: the number is required to be -(2^(rsize-1))..(2^rsize)-1, if not, NV is
1000 * set plus the result is either -(2^(rsize-1)) or (2^(rsize-1))-1
1003 #define _FP_TO_INT(fs, wc, r, X, rsize, rsigned) \
1019 else if (X##_e >= _FP_EXPBIAS_##fs + rsize - (rsigned > 0 || X##_s) \
1026 r <<= rsize - 1; \
1034 if (rsigned && X##_s && X##_e == _FP_EXPBIAS_##fs + rsize - 1) \
1039 (void)((_FP_FRACBITS_##fs > rsize) \
1041 _FP_FRACBITS_##fs - rsize, \
1057 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
1069 _FP_FRAC_ASSEMBLE_##wc(r, X, rsize); \
1078 #define _FP_FROM_INT(fs, wc, X, r, rsize, rtype) \
1088 (void)((rsize <= _FP_W_TYPE_SIZE) \
1094 : ((rsize <= 2 * _FP_W_TYPE_SIZE) \
1104 if (rsize - 1 + _FP_EXPBIAS_##fs >= _FP_EXPMAX_##fs \
1113 if (rsize <= _FP_FRACBITS_##fs \
1117 _FP_FRAC_DISASSEMBLE_##wc(X, ur_, rsize); \
1128 | ((ur_ << (rsize - (X##_e - _FP_EXPBIAS_##fs \
1131 _FP_FRAC_DISASSEMBLE_##wc(X, ur_, rsize); \