aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 2a9f3e2d3..f85ab1aea 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -7115,7 +7115,7 @@ static const char bc_lib[] ALIGN1 = {
"\n" "x=-x"
"\n" "}"
"\n" "s=scale"
-"\n" "r=6+s+0.44*x"
+"\n" "r=6+s+.44*x"
"\n" "scale=scale(x)+1"
"\n" "while(x>1){"
"\n" "d+=1"
@@ -7154,7 +7154,7 @@ static const char bc_lib[] ALIGN1 = {
"\n" "p*=2"
"\n" "x=sqrt(x)"
"\n" "}"
-"\n" "while(x<=0.5){"
+"\n" "while(x<=.5){"
"\n" "p*=2"
"\n" "x=sqrt(x)"
"\n" "}"