Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The condition preceding 'return 1;' makes my head hurt. At this point, we know that u and v have the same sign; if they are negative, they compare opposite to how their absolute values compare (which mpihelp_cmp found for us), otherwise cmp itself is the answer. Negating cmp is ok since mpihelp_cmp returns {-1,0,1}; -INT_MIN==INT_MIN won't bite us. Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: David Howells <[email protected]> Acked-by: Dmitry Kasatkin <[email protected]>
- Loading branch information