diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 21:46:11 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-12-16 21:46:11 +0100 |
commit | 146a79d19c19465aa5a29c271341158b46cc5ade (patch) | |
tree | ba3d81b44925764d2f22112556b8b2adebd48aee /miscutils/bc.c | |
parent | 15850832be164b941aeef7c62aaed91fb5774f8a (diff) |
bc: shring bc_lib[]
function old new delta
bc_lib 1586 1584 -2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r-- | miscutils/bc.c | 4 |
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" "}" |