Raw Message
Message-ID: <924459.23638.qm@web120109.mail.ne1.yahoo.com> Date: 2011-01-24T18:18:03Z From: Alaios Subject: Find the sign Hello :) I wanted to right an expression to check when x and y have the same sign and I wrote the following: if ((x<0 && y<0) || (x>0 && y>0)) which looks pretty ugly to me. Can you please suggest me a better way for that? Regards Alex