summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bd6bc56)
raw | patch | inline | side by side (parent: bd6bc56)
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Thu, 28 Jul 2005 14:48:37 +0000 (16:48 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 29 Jul 2005 07:12:03 +0000 (00:12 -0700) |
Test t6002 unnecessarily fails when bc is a bit older than average.
Signed-off-by: Johannes.Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Johannes.Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t6002-rev-list-bisect.sh | patch | blob | history |
index 6a71820825d2b2649087cbfc851f451a11c429bc..99d86ae5aeb131a97fe3cf40545d7a3bd03f9590 100755 (executable)
{
bc <<EOF
scale=1
-define abs(x) { if (x>=0) { return x; } else { return -x; } }
-define floor(x) { save=scale; scale=0; result=x/1; scale=save; return result; }
+define abs(x) {
+ if (x>=0) { return (x); } else { return (-x); }
+}
+define floor(x) {
+ save=scale; scale=0; result=x/1; scale=save; return (result);
+}
$*
EOF
}