ossp-pkg/pth/pth_string.c 1.9 -> 1.10
--- pth_string.c 2003/03/22 20:28:42 1.9
+++ pth_string.c 2003/10/17 17:39:29 1.10
@@ -485,12 +485,12 @@
}
static LDOUBLE
-pow10(int exp)
+pow10(int exponent)
{
LDOUBLE result = 1;
- while (exp) {
+ while (exponent > 0) {
result *= 10;
- exp--;
+ exponent--;
}
return result;
}
|
|