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