summaryrefslogtreecommitdiffhomepage
path: root/miscutils/bc.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index 8befc8e3f..dd2d7f22c 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -7302,7 +7302,7 @@ static const char bc_lib[] ALIGN1 = {
"\n" "a=(x^n)/2^n/a"
"\n" "r=v=1"
"\n" "f=-x*x/4"
-"\n" "scale=scale+length(a)-scale(a)"
+"\n" "scale+=length(a)-scale(a)"
"\n" "for(i=1;v;++i){"
"\n" "v=v*f/i/(n+i)"
"\n" "r+=v"