bc: shring bc_lib[]
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 20:46:11 +0000 (21:46 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 16 Dec 2018 20:46:11 +0000 (21:46 +0100)
function                                             old     new   delta
bc_lib                                              1586    1584      -2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c

index 2a9f3e2d3ae373b5c3d3f785e7b4f63501807133..f85ab1aeac5850e0de2c782c67c6125e5df3cbe4 100644 (file)
@@ -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"           "}"