diff options
| author | djm <> | 2006-06-27 05:07:03 +0000 |
|---|---|---|
| committer | djm <> | 2006-06-27 05:07:03 +0000 |
| commit | 7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d (patch) | |
| tree | 224c33f66b0b932c84dda315d9ba4236bf125b1c /src/lib/libcrypto/bio/b_print.c | |
| parent | 3f764f48d2626a43b6eeef7652c28303269d1204 (diff) | |
| download | openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.tar.gz openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.tar.bz2 openbsd-7fe7e1ed6bcd0e342aed7c0f890962dda616aa0d.zip | |
resolve conflicts
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 */ |
