HomeSort by relevance Sort by last modified time
    Searched refs:fracpart (Results 1 - 2 of 2) sorted by null

  /external/openssh/openbsd-compat/
bsd-snprintf.c 687 double fracpart; local
732 fracpart = ROUND((POW10(max)) * (ufvalue - intpart));
734 if (fracpart >= POW10(max)) {
736 fracpart -= POW10(max);
753 if (fracpart)
756 temp = fracpart*0.1;
757 my_modf(temp, &fracpart);
758 idx = (int) ((temp -fracpart +0.05)* 10.0);
759 /* idx = (int) ((((temp/10) -fracpart) +0.05) *10); */
760 /* printf ("%lf, %lf, %ld\n", temp, fracpart, idx ); *
    [all...]
  /external/openssl/crypto/bio/
b_print.c 621 long fracpart; local
644 fracpart = roundv(pow_10(max) * (ufvalue - intpart));
646 if (fracpart >= max10) {
648 fracpart -= max10;
666 : "0123456789abcdef")[fracpart % 10];
667 fracpart = (fracpart / 10);

Completed in 27 milliseconds