Lines Matching refs:sn
102 static unsigned get_rounding(int sn, unsigned xm)
115 if (!sn) /* ?? */
119 if (sn) /* ?? */
129 * sn is sign
133 ieee754sp ieee754sp_format(int sn, int xe, unsigned xm)
150 return ieee754sp_zero(sn);
152 return ieee754sp_zero(sn);
154 if(sn == 0)
159 if(sn == 0)
167 && get_rounding(sn, xm) >> (SP_MBITS + 1 + 3))
171 xm = get_rounding(sn, xm);
193 xm = get_rounding(sn, xm);
211 /* -O can be table indexed by (rm,sn) */
214 return ieee754sp_inf(sn);
216 return ieee754sp_max(sn);
218 if (sn == 0)
223 if (sn == 0)
236 return buildsp(sn, SP_EMIN - 1 + SP_EBIAS, xm);
241 return buildsp(sn, xe + SP_EBIAS, xm & ~SP_HIDDEN_BIT);