Home
last modified time | relevance | path

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

/external/openssl/crypto/bio/
Db_print.c592 long intpart; in roundv() local
593 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() local
634 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 …]
/external/openssh/openbsd-compat/
Dbsd-snprintf.c624 LLONG intpart; in ROUND() local
626 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() local
730 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 …]