[git commit] bc: shring bc_lib[]

Denys Vlasenko vda.linux at googlemail.com
Sun Dec 16 20:46:11 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=146a79d19c19465aa5a29c271341158b46cc5ade
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

function                                             old     new   delta
bc_lib                                              1586    1584      -2

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 miscutils/bc.c | 4 ++--
 1 file 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"		"}"


More information about the busybox-cvs mailing list