Home | History | Annotate | Download | only in i18n

Lines Matching refs:clamp

602         if (set->clamp) break;
1500 aset.clamp=0; /* and no concrete format */
2122 aset.clamp=0; /* and no concrete format */
2374 /* [may clamp] */
2898 /* use decFinish to clamp any out-of-range exponent, etc. */
3109 if (todrop>maxdrop && set->clamp) { /* apply clamping */
3113 if (dropped<todrop) { /* clamp to those available */
3593 uprv_decContextDefault(&set, DEC_INIT_BASE); /* clamp=0 */
3972 && rhs->exponent<=set->emax-set->digits+1 /* [could clamp] */
4705 decFinish(res, set, &residue, status); /* might clamp */
5352 aset.clamp=0; /* and no concrete format */
5369 h=8; /* clamp so 10**h computable */
5387 if (h<0) { /* clamp */
5764 aset.clamp=0; /* no concrete format */
5820 if (pp>p) pp=p; /* clamp to maximum */
6620 /* set is the context to use to check for clamp */
6626 /* If clamp is set in the context then the number of zeros trimmed */
6678 if (set->clamp && !noclamp) {
7302 /* decFinalize -- final check, clamp, and round of a number */
7354 /* Check for overflow [redundant in the 'rare' case] or clamp */
7358 /* here when might have an overflow or clamp to do */
7363 /* here when the result is normal but in clamp range */
7364 if (!set->clamp) return;
7366 /* here when need to apply the IEEE exponent clamp (fold-down) */
7395 if (set->clamp) emax-=set->digits-1; /* lower if clamping */
7396 if (dn->exponent>emax) { /* clamp required */
7496 if (dn->exponent<etiny) { /* clamp required */