Searched refs:todrop (Results 1 – 1 of 1) sorted by relevance
3107 Int todrop=ideal-a->exponent; /* most that can be dropped */ in uprv_decNumberSquareRoot() local3108 if (todrop<0) status|=DEC_Rounded; /* ideally would add 0s */ in uprv_decNumberSquareRoot()3113 if (todrop>maxdrop && set->clamp) { /* apply clamping */ in uprv_decNumberSquareRoot()3114 todrop=maxdrop; in uprv_decNumberSquareRoot()3117 if (dropped<todrop) { /* clamp to those available */ in uprv_decNumberSquareRoot()3118 todrop=dropped; in uprv_decNumberSquareRoot()3121 if (todrop>0) { /* have some to drop */ in uprv_decNumberSquareRoot()3122 decShiftToLeast(a->lsu, D2U(a->digits), todrop); in uprv_decNumberSquareRoot()3123 a->exponent+=todrop; /* maintain numerical value */ in uprv_decNumberSquareRoot()3124 a->digits-=todrop; /* new length */ in uprv_decNumberSquareRoot()