todrop 2899 src/decNumber/decNumber.c Int todrop=ideal-a->exponent; // most that can be dropped todrop 2900 src/decNumber/decNumber.c if (todrop<0) status|=DEC_Rounded; // ideally would add 0s todrop 2905 src/decNumber/decNumber.c if (todrop>maxdrop && set->clamp) { // apply clamping todrop 2906 src/decNumber/decNumber.c todrop=maxdrop; todrop 2909 src/decNumber/decNumber.c if (dropped<todrop) { // clamp to those available todrop 2910 src/decNumber/decNumber.c todrop=dropped; todrop 2913 src/decNumber/decNumber.c if (todrop>0) { // have some to drop todrop 2914 src/decNumber/decNumber.c decShiftToLeast(a->lsu, D2U(a->digits), todrop); todrop 2915 src/decNumber/decNumber.c a->exponent+=todrop; // maintain numerical value todrop 2916 src/decNumber/decNumber.c a->digits-=todrop; // new length