Lines Matching refs:sfs
1876 #define _FP_EXTEND_CNAN(dfs, sfs, dwc, swc, D, S, check_nan) \ argument
1879 _FP_STATIC_ASSERT (_FP_FRACBITS_##dfs >= _FP_FRACBITS_##sfs, \
1882 >= _FP_EXPMAX_##sfs - _FP_EXPBIAS_##sfs), \
1886 >= (_FP_EXPBIAS_##sfs \
1887 + _FP_FRACBITS_##sfs - 1)) \
1888 || (_FP_EXPBIAS_##dfs == _FP_EXPBIAS_##sfs)), \
1893 if (_FP_EXP_NORMAL (sfs, swc, S)) \
1895 D##_e = S##_e + _FP_EXPBIAS_##dfs - _FP_EXPBIAS_##sfs; \
1896 _FP_FRAC_SLL_##dwc (D, (_FP_FRACBITS_##dfs - _FP_FRACBITS_##sfs)); \
1902 _FP_CHECK_FLUSH_ZERO (sfs, swc, S); \
1906 < _FP_EXPBIAS_##sfs + _FP_FRACBITS_##sfs - 1) \
1910 - _FP_FRACBITS_##sfs)); \
1922 - _FP_FRACTBITS_##sfs); \
1923 D##_e = (_FP_EXPBIAS_##dfs - _FP_EXPBIAS_##sfs + 1 \
1924 + _FP_FRACXBITS_##sfs - FP_EXTEND_lz); \
1932 if (check_nan && _FP_FRAC_SNANP (sfs, S)) \
1936 - _FP_FRACBITS_##sfs)); \
1945 #define FP_EXTEND(dfs, sfs, dwc, swc, D, S) \ argument
1946 _FP_EXTEND_CNAN (dfs, sfs, dwc, swc, D, S, 1)
1950 #define FP_TRUNC(dfs, sfs, dwc, swc, D, S) \ argument
1953 _FP_STATIC_ASSERT (_FP_FRACBITS_##sfs >= _FP_FRACBITS_##dfs, \
1955 _FP_STATIC_ASSERT (((_FP_EXPBIAS_##sfs \
1958 || _FP_EXPBIAS_##sfs == _FP_EXPBIAS_##dfs), \
1962 if (_FP_EXP_NORMAL (sfs, swc, S)) \
1964 D##_e = S##_e + _FP_EXPBIAS_##dfs - _FP_EXPBIAS_##sfs; \
1978 _FP_FRAC_HIGH_##sfs (S) |= _FP_IMPLBIT_SH_##sfs; \
1979 _FP_FRAC_SRS_##swc (S, (_FP_WFRACBITS_##sfs \
1982 _FP_WFRACBITS_##sfs); \
1987 _FP_FRAC_SRS_##swc (S, (_FP_WFRACBITS_##sfs \
1989 _FP_WFRACBITS_##sfs); \
1997 _FP_CHECK_FLUSH_ZERO (sfs, swc, S); \
2004 if (_FP_EXPBIAS_##sfs \
2007 _FP_FRAC_SRS_##swc (S, (_FP_WFRACBITS_##sfs \
2009 _FP_WFRACBITS_##sfs); \
2026 _FP_CHECK_SIGNAN_SEMIRAW (sfs, swc, S); \
2027 _FP_FRAC_SRL_##swc (S, (_FP_WFRACBITS_##sfs \
2042 #define FP_TRUNC_COOKED(dfs, sfs, dwc, swc, D, S) \ argument
2045 _FP_STATIC_ASSERT (_FP_FRACBITS_##sfs >= _FP_FRACBITS_##dfs, \
2048 _FP_FRAC_SRL_##swc (S, (_FP_WFRACBITS_##sfs \
2051 _FP_FRAC_SRS_##swc (S, (_FP_WFRACBITS_##sfs \
2053 _FP_WFRACBITS_##sfs); \