Home
last modified time | relevance | path

Searched refs:fracpart (Results 1 – 1 of 1) sorted by relevance

/openssh-portable/openbsd-compat/
H A Dbsd-snprintf.c717 double fracpart; in fmtfp() local
762 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); in fmtfp()
764 if (fracpart >= POW10(max)) { in fmtfp()
766 fracpart -= POW10(max); in fmtfp()
783 if (fracpart) in fmtfp()
786 temp = fracpart*0.1; in fmtfp()
787 my_modf(temp, &fracpart); in fmtfp()
788 idx = (int) ((temp -fracpart +0.05)* 10.0); in fmtfp()
793 } while(fracpart && (fplace < 311)); in fmtfp()