in reply to Re: Compare two signed integers without using comparision operator in perl
in thread Compare two signed integers without using comparision operator in perl
FWIW, the in the OP's clarification of this question, the list of excluded operators was ==,<,>. The way I read the clarification and the original question, I believe that <=> was not excluded, and could well have been what the OP was looking for, rather than the mathematical monstrocitoes offered.
C'est la vie.
|
|---|