Home | History | Annotate | Download | only in i18n

Lines Matching full:snan

206 #define DEC_sNaN     0x40000000    /* local status: sNaN signal  */
563 if (*c=='s' || *c=='S') { /* looks like an sNaN */
576 if (*cfirst=='\0') { /* "NaN" or "sNaN", maybe with all 0s */
1154 /* Only Invalid operation (from sNaN or Inf * 0) is possible in */
1156 /* another sNaN) and set acc to NaN unless we had an sNaN */
1158 /* Note sNaN has to go through addOp to shorten payload if */
1487 /* zero, or there was an error; note NaN from sNaN needs copy */
1687 status&=DEC_Invalid_operation|DEC_sNaN; /* only sNaN Invalid please */
1724 status&=DEC_Invalid_operation|DEC_sNaN; /* only sNaN Invalid please */
1756 else { /* Is numeric, so no chance of sNaN Invalid, etc. */
2459 /* operand is an sNaN. */
2672 /* operand is an sNaN. */
3171 /* sNaN). */
3173 /* The context is used for rounding mode and status after sNaN, but */
6049 /* This assumes sNaN (even just one) leads to NaN. */
6053 else if (op==COMPSIG) /* treat qNaN as sNaN */
6063 else { /* both NaN or both sNaN */
6073 else if (merged & DECSNAN); /* sNaN -> qNaN */
7687 /* appropriate result to res. When an sNaN is found, it is changed */
7719 res->bits&=~DECSNAN; /* convert any sNaN to NaN, while */
7743 /* if cause was an sNaN, clear and propagate [NaN is already set up] */
7826 if (dn->bits&DECSNAN) printf("sNaN"); /* signalling NaN */