What the following expression computes, exactly?
#define SIGN(x) ((x < 0) ? -1 : (x > 0)
what yields if x is zero, less than zero, more than zero? I guess I know the answer, but I'd like to check for clarity...
Thank you
Aucun commentaire:
Enregistrer un commentaire