← Commit list

c06537d9b

Denys Vlasenko
Denys Vlasenko
2018-12-14
SUCCESS Duration: 153s

Subject

bc: shrink internal library yet more

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

miscutils/bc.c+1 -1
@@ -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"