projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831721e
)
fix compiler warning; pow10 is also in math.h
author
Nils Larsch
<nils@openssl.org>
Thu, 5 May 2005 20:57:37 +0000
(20:57 +0000)
committer
Nils Larsch
<nils@openssl.org>
Thu, 5 May 2005 20:57:37 +0000
(20:57 +0000)
crypto/bio/b_print.c
patch
|
blob
|
history
diff --git
a/crypto/bio/b_print.c
b/crypto/bio/b_print.c
index 5a3ea8c3a539ce4eaaecdef68e1c08c96a3bd44c..4857cfe0ce841c558f3a50b4d91f5f3b30665acb 100644
(file)
--- a/
crypto/bio/b_print.c
+++ b/
crypto/bio/b_print.c
@@
-576,7
+576,7
@@
abs_val(LDOUBLE value)
}
static LDOUBLE
-pow10(int in_exp)
+pow
_
10(int in_exp)
{
LDOUBLE result = 1;
while (in_exp) {
@@
-640,8
+640,8
@@
fmtfp(
/* we "cheat" by converting the fractional part to integer by
multiplying by a factor of 10 */
- max10 = roundv(pow10(max));
- fracpart = roundv(pow10(max) * (ufvalue - intpart));
+ max10 = roundv(pow
_
10(max));
+ fracpart = roundv(pow
_
10(max) * (ufvalue - intpart));
if (fracpart >= max10) {
intpart++;