Searched refs:intpart (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dbsd-snprintf.c666 LLONG intpart; local
668 intpart = (LLONG)value;
669 value = value - intpart;
670 if (value >= 0.5) intpart++;
672 return intpart;
728 double intpart; local
772 my_modf(temp, &intpart);
774 fracpart = ROUND((POW10(max)) * (ufvalue - intpart));
777 intpart++;
783 temp = intpart*0.
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/bio/
H A Db_print.c598 long intpart; local
599 intpart = (long)value;
600 value = value - intpart;
602 intpart++;
603 return intpart;
621 long intpart; local
635 intpart = (long)ufvalue;
649 fracpart = roundv(pow_10(max) * (ufvalue - intpart));
652 intpart++;
659 (caps ? "0123456789ABCDEF" : "0123456789abcdef")[intpart
[all...]
/freebsd-9.3-release/contrib/ntp/libntp/
H A Dsnprintf.c1096 UINTMAX_T intpart; local
1203 if ((intpart = cast(ufvalue)) == UINTMAX_MAX) {
1217 if ((fracpart = myround(mask * (ufvalue - intpart))) >= mask) {
1219 * For example, ufvalue = 2.99962, intpart = 2, and mask = 1000
1224 intpart++;
1226 if (estyle && intpart == 10) {
1233 intpart = 1;
1289 ipos = convert(intpart, iconvert, sizeof(iconvert), 10, 0);
1476 UINTMAX_T intpart = cast(value); local
1478 return ((value -= intpart) < 0.
[all...]

Completed in 65 milliseconds