• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/ICU-511.35/icuSources/i18n/

Lines Matching defs:sign

71 /*    which are 0 or 1 (and will have exponent=0 and a sign of 0).    */
373 if (in<0) dn->bits=DECNEG; /* sign needed */
545 if (*c=='-') { /* valid - sign */
549 if (*c=='+') { /* valid + sign */
574 /* 2003.09.10 NaNs are now permitted to have a sign */
617 /* 1998.07.11: sign no longer required */
619 c++; /* to (possible) sign */
867 res->bits=0; /* sign=0 */
972 a->bits&=~DECNEG; /* .. and clear the sign */
986 b->bits&=~DECNEG; /* .. and clear the sign */
1254 res->bits=0; /* sign=0 */
1777 result=decCompare(lhs, rhs, 0); /* sign matters */
1881 res->bits=0; /* sign=0 */
1989 uByte bits=0; /* result sign if errors */
2025 Flag rhsneg=rhs->bits&DECNEG; /* save rhs sign */
2257 dac->bits=(dac->bits & ~DECNEG) | bits; /* force correct sign */
2469 /* the exponent or the sign of A. If lhs->digits is less than */
2685 /* the exponent or the sign of A. */
3311 res->bits=0; /* sign=0 */
3424 res->bits&=~DECNEG; /* turn off sign */
3445 res->bits^=DECNEG; /* invert the sign */
3450 /* decNumberCopySign -- quiet copy and set sign operator */
3452 /* This sets C = A with the sign of B */
3463 uByte sign; /* rhs sign */
3467 sign=rhs->bits & DECNEG; /* save sign bit */
3469 res->bits&=~DECNEG; /* clear the sign */
3470 res->bits|=sign; /* set from rhs */
3808 /* Inexact in status must be 0 for correct Exact zero sign in result */
3842 Flag diffsign; /* non-0 if arguments have different sign */
3887 bits=lhs->bits & DECNEG; /* get sign from LHS */
3915 else res->bits=DECNEG; /* preserve 0 sign */
4008 bits=lhs->bits; /* assume sign is that of LHS */
4020 bits=(uByte)(rhs->bits^negate); /* assumed sign is now that of RHS */
4030 /* for residue use the relative sign indication... */
4041 /* flip the result sign if unswapped and rhs was negated */
4097 res->bits^=DECNEG; /* flip the sign */
4155 /* zero, the sign of that sum shall be '+' in all rounding modes */
4156 /* except round toward -Infinity, in which mode that sign shall be */
4163 if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; /* sign - */
4164 else res->bits&=~DECNEG; /* sign + */
4281 uByte bits; /* working sign */
4312 bits=(lhs->bits^rhs->bits)&DECNEG; /* assumed sign for divisions */
4379 res->bits=bits; /* sign as computed */
4385 res->bits=bits; /* sign as computed */
4692 bits=lhs->bits; /* remainder sign is always as lhs */
4786 /* rem-rhs is needed; the sign will invert. Again, var1 */
4799 bits^=DECNEG; /* flip the sign */
4872 uByte bits; /* result sign */
4931 /* precalculate result sign */
5150 res->bits=bits; /* set sign */
5789 a->bits^=DECNEG; /* restore sign of a */
6130 else result=decCompare(lhs, rhs, 0); /* sign matters */
6137 /* operands are numerically equal or same NaN (and same sign, */
6157 /* choose according to sign then exponent (see 754) */
6204 /* Arg3 is 1 for a sign-independent compare, 0 otherwise */
6243 /* swap sides, and sign */
6301 /* even though only the sign is of interest. Its length needs */
6360 /* and negated if the result is negative. That is, the sign of the */
6361 /* returned Int is the sign of the result (positive for zero) and */
6645 dn->exponent=0; /* (sign is preserved) */
6919 /* updated as necessary. dn->bits (sign) is unchanged. */
7091 /* is, of the opposite sign to dn. In this case the */
7285 dn->bits=0; /* .. and sign */
7381 /* dn is the number (used for sign [only] and result) */
7385 /* This sets the sign of a number and sets its value to either */
7386 /* Infinity or the maximum finite value, depending on the sign of */
7391 uByte sign=dn->bits&DECNEG; /* clean and save sign bit */
7412 if (sign) needmax=1; /* Infinity if non-negative */
7415 if (!sign) needmax=1; /* Infinity if negative */
7421 dn->bits=sign; /* set sign */
7423 else dn->bits=sign|DECINF; /* Value is +/-Infinity */
7448 dn->bits=0; /* + sign */
7580 /* The sign can be determined from dn by the caller when BIGEVEN or */
7656 if (neg) theInt=-theInt; /* apply sign */
7752 res->bits=lhs->bits; /* need sign etc. */
7761 res->bits|=DECNAN; /* .. preserving sign */
7850 /* Shows: sign, exponent, coefficient (msu first), digits */
7851 /* or: sign, special-value */
7858 char isign='+'; /* main sign */