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

It is not a practical problem, it is just a quiz to rewrite the following code:
($a == $b) ? print "equal" : ( ($a < $b) ? print "a is small" : print + "b is small");
without using the comparision operators like ==,<,> .
  • Comment on Re: Re: Compare two signed integers without using comparision operator in perl
  • Download Code