Update of /cvsroot/monetdb/MonetDB4/src/modules/plain
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24381/src/modules/plain
Modified Files:
Tag: MonetDB_4-20
arith.mx
Log Message:
consistently use parentheses
Index: arith.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/src/modules/plain/arith.mx,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -u -d -r1.3.6.1 -r1.3.6.2
--- arith.mx 13 Dec 2007 11:40:47 -0000 1.3.6.1
+++ arith.mx 13 Dec 2007 11:46:36 -0000 1.3.6.2
@@ -412,7 +412,7 @@
#define arith_abs(s) ((s)<0)?-(s):(s)
#define arith_neg(s) (-(s))
-#define arith_sign(s) ((s)<0)?-1:(s==0)?0:1
+#define arith_sign(s) ((s)<0)?-1:((s)==0)?0:1
@= c_unary_ops
@:arith_unop(_ABS,arith_abs,@1)@
@:arith_unop(_NEG,arith_neg,@1)@
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins