in reply to Compare two signed integers without using comparision operator in perl
Reasoning:$a = 3; $b = 4; print (sqrt(($a-$b)**2) - ($a-$b));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Compare two signed integers without using comparision operator in perl
by bart (Canon) on May 06, 2003 at 19:18 UTC | |
by Util (Priest) on May 07, 2003 at 00:10 UTC |