Searched refs:intpart (Results 1 – 2 of 2) sorted by relevance
592 long intpart; in roundv() local593 intpart = (long) value; in roundv()594 value = value - intpart; in roundv()596 intpart++; in roundv()597 return intpart; in roundv()620 long intpart; in fmtfp() local634 intpart = (long)ufvalue; in fmtfp()644 fracpart = roundv(pow_10(max) * (ufvalue - intpart)); in fmtfp()647 intpart++; in fmtfp()655 : "0123456789abcdef")[intpart % 10]; in fmtfp()[all …]
624 LLONG intpart; in ROUND() local626 intpart = (LLONG)value; in ROUND()627 value = value - intpart; in ROUND()628 if (value >= 0.5) intpart++; in ROUND()630 return intpart; in ROUND()686 double intpart; in fmtfp() local730 my_modf(temp, &intpart); in fmtfp()732 fracpart = ROUND((POW10(max)) * (ufvalue - intpart)); in fmtfp()735 intpart++; in fmtfp()741 temp = intpart*0.1; in fmtfp()[all …]