Lines Matching refs:sn
101 static u64 get_rounding(int sn, u64 xm)
114 if (!sn) /* ?? */
118 if (sn) /* ?? */
128 * sn is sign
132 ieee754dp ieee754dp_format(int sn, int xe, u64 xm)
149 return ieee754dp_zero(sn);
151 return ieee754dp_zero(sn);
153 if(sn == 0)
158 if(sn == 0)
166 && get_rounding(sn, xm) >> (DP_MBITS + 1 + 3))
170 xm = get_rounding(sn, xm);
193 xm = get_rounding(sn, xm);
211 /* -O can be table indexed by (rm,sn) */
214 return ieee754dp_inf(sn);
216 return ieee754dp_max(sn);
218 if (sn == 0)
223 if (sn == 0)
236 return builddp(sn, DP_EMIN - 1 + DP_EBIAS, xm);
241 return builddp(sn, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);