You must log in or # to comment.
Something something sufficiently advanced compiler should optimize it away
return !(x < y);
return (x >= y);
also worksAssuming x and y are totally ordered 🤮
Something something sufficiently advanced compiler should optimize it away
return !(x < y);
return (x >= y);
also works
Assuming x and y are totally ordered 🤮