Lines Matching refs:fracpart
729 double fracpart;
774 fracpart = ROUND((POW10(max)) * (ufvalue - intpart));
776 if (fracpart >= POW10(max)) {
778 fracpart -= POW10(max);
795 if (fracpart)
798 temp = fracpart*0.1;
799 my_modf(temp, &fracpart);
800 idx = (int) ((temp -fracpart +0.05)* 10.0);
801 /* idx = (int) ((((temp/10) -fracpart) +0.05) *10); */
802 /* printf ("%lf, %lf, %ld\n", temp, fracpart, idx ); */
805 } while(fracpart && (fplace < 311));