DECNEG 284 src/decNumber/decNumber.c if (in<0) dn->bits=DECNEG; // sign needed DECNEG 329 src/decNumber/decNumber.c if (dn->bits&DECNEG && hi==214748364 && lo==8) return 0x80000000; DECNEG 334 src/decNumber/decNumber.c if (dn->bits&DECNEG) return -i; DECNEG 345 src/decNumber/decNumber.c || (dn->bits&DECNEG && !ISZERO(dn))); // bad DECNEG 446 src/decNumber/decNumber.c bits=DECNEG; DECNEG 663 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); DECNEG 854 src/decNumber/decNumber.c a->bits&=~DECNEG; // .. and clear the sign DECNEG 868 src/decNumber/decNumber.c b->bits&=~DECNEG; // .. and clear the sign DECNEG 1209 src/decNumber/decNumber.c res->bits=DECNEG|DECINF; // -Infinity DECNEG 1308 src/decNumber/decNumber.c if (!(rhs->bits&(DECNEG|DECSPECIAL)) && !ISZERO(rhs)) { DECNEG 1494 src/decNumber/decNumber.c decAddOp(res, &dzero, rhs, set, DECNEG, &status); DECNEG 1517 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==DECINF) { DECNEG 1534 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); DECNEG 1558 src/decNumber/decNumber.c if ((rhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { DECNEG 1560 src/decNumber/decNumber.c res->bits=DECNEG; // negative DECNEG 1615 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==(DECINF|DECNEG)) { DECNEG 1617 src/decNumber/decNumber.c res->bits=DECNEG; // negative DECNEG 1625 src/decNumber/decNumber.c if ((lhs->bits&(DECINF|DECNEG))==DECINF) { DECNEG 1630 src/decNumber/decNumber.c sub=DECNEG; // subtract, please DECNEG 1839 src/decNumber/decNumber.c Flag rhsneg=rhs->bits&DECNEG; // save rhs sign DECNEG 1877 src/decNumber/decNumber.c && isoddint) bits=DECNEG; // .. to an odd power DECNEG 1889 src/decNumber/decNumber.c if (!(rbits & DECNEG)) bits|=DECINF; // was not a **-n DECNEG 1908 src/decNumber/decNumber.c if (rbits & DECNEG) { // was a 0**(-n) DECNEG 2079 src/decNumber/decNumber.c dac->bits=(dac->bits & ~DECNEG) | bits; // force correct sign DECNEG 2840 src/decNumber/decNumber.c decAddOp(b, a, t, &workset, DECNEG, &ignore); // b = a - 0.5 ulp DECNEG 2848 src/decNumber/decNumber.c decAddOp(a, a, t, &workset, DECNEG, &ignore); // a = a - 1 ulp DECNEG 2966 src/decNumber/decNumber.c decAddOp(res, lhs, rhs, set, DECNEG, &status); DECNEG 3196 src/decNumber/decNumber.c res->bits&=~DECNEG; // turn off sign DECNEG 3214 src/decNumber/decNumber.c res->bits^=DECNEG; // invert the sign DECNEG 3233 src/decNumber/decNumber.c sign=rhs->bits & DECNEG; // save sign bit DECNEG 3235 src/decNumber/decNumber.c res->bits&=~DECNEG; // clear the sign DECNEG 3615 src/decNumber/decNumber.c diffsign=(Flag)((lhs->bits^rhs->bits^negate)&DECNEG); DECNEG 3628 src/decNumber/decNumber.c bits=lhs->bits & DECNEG; // get sign from LHS DECNEG 3630 src/decNumber/decNumber.c else bits=(rhs->bits^negate) & DECNEG;// RHS must be Infinity DECNEG 3657 src/decNumber/decNumber.c else res->bits=DECNEG; // preserve 0 sign DECNEG 3807 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // it's now safe to overwrite.. DECNEG 3817 src/decNumber/decNumber.c res->bits^=DECNEG; // flip the sign DECNEG 3880 src/decNumber/decNumber.c if (set->round==DEC_ROUND_FLOOR) res->bits|=DECNEG; // sign - DECNEG 3881 src/decNumber/decNumber.c else res->bits&=~DECNEG; // sign + DECNEG 4025 src/decNumber/decNumber.c bits=(lhs->bits^rhs->bits)&DECNEG; // assumed sign for divisions DECNEG 4411 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] DECNEG 4507 src/decNumber/decNumber.c bits^=DECNEG; // flip the sign DECNEG 4515 src/decNumber/decNumber.c res->bits=(uByte)(bits&DECNEG); // [cleaned] DECNEG 4636 src/decNumber/decNumber.c bits=(uByte)((lhs->bits^rhs->bits)&DECNEG); DECNEG 5336 src/decNumber/decNumber.c res->bits=DECINF|DECNEG; // set - infinity DECNEG 5428 src/decNumber/decNumber.c b->bits=DECNEG; // ln(0.10)->ln(0.99) always -ve DECNEG 5464 src/decNumber/decNumber.c a->bits^=DECNEG; // make -a DECNEG 5466 src/decNumber/decNumber.c a->bits^=DECNEG; // restore sign of a DECNEG 5469 src/decNumber/decNumber.c decAddOp(b, b, &numone, &bset, DECNEG, &ignore); // b=b-1 DECNEG 5811 src/decNumber/decNumber.c if (result<0) res->bits=DECNEG; DECNEG 5821 src/decNumber/decNumber.c uByte slhs=(lhs->bits & DECNEG); DECNEG 5822 src/decNumber/decNumber.c uByte srhs=(rhs->bits & DECNEG); DECNEG 7036 src/decNumber/decNumber.c uByte sign=dn->bits&DECNEG; // clean and save sign bit DECNEG 175 src/decNumber/decNumber.h # define decNumberIsNegative(dn) (((dn)->bits&DECNEG)!=0) DECNEG 7487 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 7495 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 7815 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 9678 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10090 src/dps8/dps8_eis.c DECNEG 10304 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10312 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 10685 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 10693 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11016 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11024 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11357 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11365 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11673 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11681 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 11975 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 11983 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 13015 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 13032 src/dps8/dps8_eis.c op2->bits |= DECNEG; DECNEG 13441 src/dps8/dps8_eis.c op1->bits |= DECNEG; DECNEG 13458 src/dps8/dps8_eis.c op2->bits |= DECNEG;