diff options
Diffstat (limited to 'src/lib/libcrypto/bio/b_print.c')
| -rw-r--r-- | src/lib/libcrypto/bio/b_print.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/lib/libcrypto/bio/b_print.c b/src/lib/libcrypto/bio/b_print.c index 8b753e7ca0..f2bd91d5a0 100644 --- a/src/lib/libcrypto/bio/b_print.c +++ b/src/lib/libcrypto/bio/b_print.c | |||
| @@ -576,7 +576,7 @@ abs_val(LDOUBLE value) | |||
| 576 | } | 576 | } | 
| 577 | 577 | ||
| 578 | static LDOUBLE | 578 | static LDOUBLE | 
| 579 | pow10(int in_exp) | 579 | pow_10(int in_exp) | 
| 580 | { | 580 | { | 
| 581 | LDOUBLE result = 1; | 581 | LDOUBLE result = 1; | 
| 582 | while (in_exp) { | 582 | while (in_exp) { | 
| @@ -639,11 +639,11 @@ fmtfp( | |||
| 639 | 639 | ||
| 640 | /* we "cheat" by converting the fractional part to integer by | 640 | /* we "cheat" by converting the fractional part to integer by | 
| 641 | multiplying by a factor of 10 */ | 641 | multiplying by a factor of 10 */ | 
| 642 | fracpart = roundv((pow10(max)) * (ufvalue - intpart)); | 642 | fracpart = roundv((pow_10(max)) * (ufvalue - intpart)); | 
| 643 | 643 | ||
| 644 | if (fracpart >= (long)pow10(max)) { | 644 | if (fracpart >= (long)pow_10(max)) { | 
| 645 | intpart++; | 645 | intpart++; | 
| 646 | fracpart -= (long)pow10(max); | 646 | fracpart -= (long)pow_10(max); | 
| 647 | } | 647 | } | 
| 648 | 648 | ||
| 649 | /* convert integer part */ | 649 | /* convert integer part */ | 
