Home | History | Annotate | Download | only in openbsd-compat

Lines Matching refs:fracpart

717 	double fracpart;
762 fracpart = ROUND((POW10(max)) * (ufvalue - intpart));
764 if (fracpart >= POW10(max)) {
766 fracpart -= POW10(max);
783 if (fracpart)
786 temp = fracpart*0.1;
787 my_modf(temp, &fracpart);
788 idx = (int) ((temp -fracpart +0.05)* 10.0);
789 /* idx = (int) ((((temp/10) -fracpart) +0.05) *10); */
790 /* printf ("%lf, %lf, %ld\n", temp, fracpart, idx ); */
793 } while(fracpart && (fplace < 311));