From 146a79d19c19465aa5a29c271341158b46cc5ade Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 16 Dec 2018 21:46:11 +0100 Subject: bc: shring bc_lib[] function old new delta bc_lib 1586 1584 -2 Signed-off-by: Denys Vlasenko --- miscutils/bc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'miscutils/bc.c') 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" "}" -- cgit v1.2.3