Lines Matching defs:pm

156  * rounding according to the modes in *pm and recording any exceptions
165 * When pm->df == fixed_form, we may discover that the result would
175 __big_decimal_to_string(_big_float *pf, int sticky, decimal_mode *pm,
202 if (pm->df == fixed_form) {
204 er = -pm->ndigits;
224 elast = er = e - pm->ndigits + 1;
288 switch (pm->rd) {
317 if (pm->df == floating_form) {
334 * decimal record *pd according to the modes in *pm. Any exceptions
338 __bigfloat_to_decimal(_big_float *bf, decimal_mode *pm, decimal_record *pd,
345 * If pm->ndigits is too large or too small, set the overflow
349 if (pm->ndigits >= DECIMAL_STRING_LENGTH || pm->ndigits <=
350 ((pm->df == floating_form)? 0 : -DECIMAL_STRING_LENGTH)) {
359 if (pm->df == fixed_form) {
361 if (pm->ndigits >= 0 && bf->bexponent < 0) {
363 * Scale by 10^min(-bf->bexponent, pm->ndigits + 1).
365 powten = pm->ndigits + 1;
384 if (i <= 0 || ((i * 19728) >> 16) < pm->ndigits + 1) {
387 * pm->ndigits + 1 + u) where u is
390 powten = pm->ndigits + 1;
407 sigdigits = pm->ndigits + 2;
419 __big_decimal_to_string(pbd, sticky, pm, pd, ps);
529 single_to_decimal(single *px, decimal_mode *pm, decimal_record *pd,
564 if (__fast_double_to_decimal(&x, pm, pd, &ef)) {
566 __bigfloat_to_decimal(&bf, pm, pd, &ef);
591 if (__fast_double_to_decimal(&x, pm, pd, &ef)) {
593 __bigfloat_to_decimal(&bf, pm, pd, &ef);
601 double_to_decimal(double *px, decimal_mode *pm, decimal_record *pd,
636 if (__fast_double_to_decimal(px, pm, pd, &ef)) {
638 __bigfloat_to_decimal(&bf, pm, pd, &ef);
646 extended_to_decimal(extended *px, decimal_mode *pm, decimal_record *pd,
695 __bigfloat_to_decimal(&bf, pm, pd, &ef);
702 quadruple_to_decimal(quadruple *px, decimal_mode *pm, decimal_record *pd,
740 __bigfloat_to_decimal(&bf, pm, pd, &ef);