DECNEG 299 src/decNumber/decNumber.c if (in<0) dn->bits=DECNEG; // sign needed DECNEG 344 src/decNumber/decNumber.c if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; DECNEG 349 src/decNumber/decNumber.c if (dn->bits&DECNEG) return -i; DECNEG 360 src/decNumber/decNumber.c || (dn->bits&DECNEG && !ISZERO(dn))); // bad DECNEG 461 src/decNumber/decNumber.c bits=DECNEG; DECNEG 678 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); DECNEG 869 src/decNumber/decNumber.c a->bits&=~DECNEG; // .. and clear the sign DECNEG 883 src/decNumber/decNumber.c b->bits&=~DECNEG; // .. and clear the sign DECNEG 1225 src/decNumber/decNumber.c res->bits=DECNEG|DECINF; // -Infinity DECNEG 1324 src/decNumber/decNumber.c if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) { DECNEG 1510 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, DECNEG, &status); DECNEG 1533 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==DECINF) { DECNEG 1550 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); DECNEG 1574 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { DECNEG 1576 src/decNumber/decNumber.c res->bits=DECNEG; // negative DECNEG 1631 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { DECNEG 1633 src/decNumber/decNumber.c res->bits=DECNEG; // negative DECNEG 1641 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==DECINF) { DECNEG 1646 src/decNumber/decNumber.c sub=DECNEG; // subtract, please DECNEG 1855 src/decNumber/decNumber.c Flag rhsneg=rhs->bits&DECNEG; // save rhs sign DECNEG 1893 src/decNumber/decNumber.c && isoddint) bits=DECNEG; // .. to an odd power DECNEG 1905 src/decNumber/decNumber.c if (!(rbits & DECNEG)) bits|=DECINF; // was not a **-n DECNEG 1924 src/decNumber/decNumber.c if (rbits & DECNEG) { // was a 0**(-n) DECNEG 2095 src/decNumber/decNumber.c dac->bits=(dac->bits & ~DECNEG) | bits; // force correct sign DECNEG 2856 src/decNumber/decNumber.c decAddOp(b, a, t, &workset, DECNEG, &ignore); // b = a - 0.5 ulp DECNEG 2864 src/decNumber/decNumber.c decAddOp(a, a, t, &workset, DECNEG, &ignore); // a = a - 1 ulp DECNEG 2982 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, DECNEG, &status); DECNEG 3212 src/decNumber/decNumber.c res->bits&=~DECNEG; // turn off sign DECNEG 3230 src/decNumber/decNumber.c res->bits^=DECNEG; // invert the sign DECNEG 3249 src/decNumber/decNumber.c sign=rhs->bits & DECNEG; // save sign bit DECNEG 3251 src/decNumber/decNumber.c res->bits&=~DECNEG; // clear the sign DECNEG 3632 src/decNumber/decNumber.c diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG); DECNEG 3645 src/decNumber/decNumber.c bits=lhs->bits & DECNEG; // get sign from LHS DECNEG 3647 src/decNumber/decNumber.c else bits=(rhs->bits^negate) & DECNEG;// RHS must be Infinity DECNEG 3674 src/decNumber/decNumber.c else res->bits=DECNEG; // preserve 0 sign DECNEG 3825 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // it's now safe to overwrite.. DECNEG 3835 src/decNumber/decNumber.c res->bits^=DECNEG; // flip the sign DECNEG 3898 src/decNumber/decNumber.c if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; // sign - DECNEG 3899 src/decNumber/decNumber.c else res->bits&=~DECNEG; // sign + DECNEG 4043 src/decNumber/decNumber.c bits=(lhs->bits^rhs->bits)&DECNEG; // assumed sign for divisions DECNEG 4431 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] DECNEG 4527 src/decNumber/decNumber.c bits^=DECNEG; // flip the sign DECNEG 4535 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] DECNEG 4656 src/decNumber/decNumber.c bits=(uByte)((lhs->bits^rhs->bits)&DECNEG); DECNEG 5356 src/decNumber/decNumber.c res->bits=DECINF|DECNEG; // set - infinity DECNEG 5448 src/decNumber/decNumber.c b->bits=DECNEG; // ln(0.10)->ln(0.99) always -ve DECNEG 5484 src/decNumber/decNumber.c a->bits^=DECNEG; // make -a DECNEG 5486 src/decNumber/decNumber.c a->bits^=DECNEG; // restore sign of a DECNEG 5489 src/decNumber/decNumber.c decAddOp(b, b, &numone, &bset, DECNEG, &ignore); // b=b-1 DECNEG 5831 src/decNumber/decNumber.c if (result<0) res->bits=DECNEG; DECNEG 5841 src/decNumber/decNumber.c uByte slhs=(lhs->bits & DECNEG); DECNEG 5842 src/decNumber/decNumber.c uByte srhs=(rhs->bits & DECNEG); DECNEG 7058 src/decNumber/decNumber.c uByte sign=dn->bits&DECNEG; // clean and save sign bit DECNEG 176 src/decNumber/decNumber.h # define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0) DECNEG 7421 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 7429 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 7750 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 9616 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10018 src/dps8/dps8_eis.c DECNEG 10231 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10239 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 10602 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10610 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 10924 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10932 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11256 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11264 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11563 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11571 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11855 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11863 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 12886 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 12903 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 13298 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 13315 src/dps8/dps8_eis.c op2->bits |= DECNEG;