workset 1529 src/decNumber/decNumber.c decContext workset=*set; // work workset 1539 src/decNumber/decNumber.c workset.round=DEC_ROUND_FLOOR; workset 1540 src/decNumber/decNumber.c workset.status=0; workset 1541 src/decNumber/decNumber.c decNumberPlus(res, rhs, &workset); workset 1542 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { workset 1543 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); workset 1550 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, DECNEG, &status); workset 1570 src/decNumber/decNumber.c decContext workset=*set; // work workset 1581 src/decNumber/decNumber.c workset.round=DEC_ROUND_CEILING; workset 1582 src/decNumber/decNumber.c workset.status=0; workset 1583 src/decNumber/decNumber.c decNumberPlus(res, rhs, &workset); workset 1584 src/decNumber/decNumber.c if (workset.status&(DEC_Inexact|DEC_NaNs)) { workset 1585 src/decNumber/decNumber.c set->status |= (workset.status&DEC_NaNs); workset 1592 src/decNumber/decNumber.c decAddOp(res, rhs, &dtiny, &workset, 0, &status); workset 1615 src/decNumber/decNumber.c decContext workset=*set; // work workset 1636 src/decNumber/decNumber.c workset.round=DEC_ROUND_CEILING; workset 1645 src/decNumber/decNumber.c workset.round=DEC_ROUND_FLOOR; workset 1651 src/decNumber/decNumber.c decAddOp(res, lhs, &dtiny, &workset, sub, &status); // + or - workset 2645 src/decNumber/decNumber.c decContext workset, approxset; // work contexts workset 2758 src/decNumber/decNumber.c decContextDefault(&workset, DEC_INIT_DECIMAL64); workset 2759 src/decNumber/decNumber.c workset.emax=DEC_MAX_EMAX; workset 2760 src/decNumber/decNumber.c workset.emin=DEC_MIN_EMIN; workset 2766 src/decNumber/decNumber.c workset.digits=workp; // p for initial calculation workset 2802 src/decNumber/decNumber.c decMultiplyOp(a, a, f, &workset, &ignore); // a=a*f workset 2803 src/decNumber/decNumber.c decAddOp(a, a, t, &workset, 0, &ignore); // ..+t workset 2812 src/decNumber/decNumber.c workset.digits=3; // initial p workset 2813 src/decNumber/decNumber.c for (; workset.digits<maxp;) { workset 2815 src/decNumber/decNumber.c workset.digits=MINI(workset.digits*2-2, maxp); workset 2818 src/decNumber/decNumber.c decDivideOp(b, f, a, &workset, DIVIDE, &ignore); // b=f/a workset 2819 src/decNumber/decNumber.c decAddOp(b, b, a, &workset, 0, &ignore); // b=b+a workset 2820 src/decNumber/decNumber.c decMultiplyOp(a, b, t, &workset, &ignore); // a=b*0.5 workset 2854 src/decNumber/decNumber.c workset.digits--; // maxp-1 is OK now workset 2856 src/decNumber/decNumber.c decAddOp(b, a, t, &workset, DECNEG, &ignore); // b = a - 0.5 ulp workset 2857 src/decNumber/decNumber.c workset.round=DEC_ROUND_UP; workset 2858 src/decNumber/decNumber.c decMultiplyOp(b, b, b, &workset, &ignore); // b = mulru(b, b) workset 2859 src/decNumber/decNumber.c decCompareOp(b, f, b, &workset, COMPARE, &ignore); // b ? f, reversed workset 2864 src/decNumber/decNumber.c decAddOp(a, a, t, &workset, DECNEG, &ignore); // a = a - 1 ulp workset 2871 src/decNumber/decNumber.c decAddOp(b, a, t, &workset, 0, &ignore); // b = a + 0.5 ulp workset 2872 src/decNumber/decNumber.c workset.round=DEC_ROUND_DOWN; workset 2873 src/decNumber/decNumber.c decMultiplyOp(b, b, b, &workset, &ignore); // b = mulrd(b, b) workset 2874 src/decNumber/decNumber.c decCompareOp(b, b, f, &workset, COMPARE, &ignore); // b ? f workset 2878 src/decNumber/decNumber.c decAddOp(a, a, t, &workset, 0, &ignore); // a = a + 1 ulp workset 2905 src/decNumber/decNumber.c decMultiplyOp(b, b, b, &workset, &mstatus); // try the multiply workset 2910 src/decNumber/decNumber.c decCompareOp(t, b, rhs, &workset, COMPARE, &mstatus); // b ? rhs workset 3011 src/decNumber/decNumber.c decContext workset; // working context workset 3023 src/decNumber/decNumber.c workset=*set; // clone rounding, etc. workset 3024 src/decNumber/decNumber.c workset.digits=rhs->digits; // no length rounding workset 3025 src/decNumber/decNumber.c workset.traps=0; // no traps workset 3027 src/decNumber/decNumber.c decNumberQuantize(res, rhs, &dn, &workset); workset 3028 src/decNumber/decNumber.c status|=workset.status; workset 3036 src/decNumber/decNumber.c decContext workset=*set; // working context workset 3037 src/decNumber/decNumber.c workset.traps=0; // no traps workset 3038 src/decNumber/decNumber.c decNumberToIntegralExact(res, rhs, &workset); workset 3041 src/decNumber/decNumber.c set->status|=workset.status&DEC_Invalid_operation; workset 5641 src/decNumber/decNumber.c decContext workset; // work workset 5642 src/decNumber/decNumber.c workset=*set; // clone rounding, etc. workset 5643 src/decNumber/decNumber.c workset.digits=lhs->digits-adjust; // set requested length workset 5645 src/decNumber/decNumber.c decCopyFit(res, lhs, &workset, &residue, status); // fit to result workset 5646 src/decNumber/decNumber.c decApplyRound(res, &workset, residue, status); // .. and round workset 7138 src/decNumber/decNumber.c decContext workset; // work workset 7176 src/decNumber/decNumber.c workset=*set; // clone rounding, etc. workset 7177 src/decNumber/decNumber.c workset.digits=dn->digits-adjust; // set requested length workset 7178 src/decNumber/decNumber.c workset.emin-=adjust; // and adjust emin to match workset 7180 src/decNumber/decNumber.c decSetCoeff(dn, &workset, dn->lsu, dn->digits, residue, status); workset 7181 src/decNumber/decNumber.c decApplyRound(dn, &workset, *residue, status);