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
print abs($a-$b) - ($a-$b);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Compare two signed integers without using comparision operator in perl
by Util (Priest) on May 07, 2003 at 00:10 UTC |