#define islessgreater(x,y) (!isunordered(x, y) && (x < y || x > y))
islessgreater returns whether x is less than or greater than y.