in reply to Re^2: Sorting through a rollover
in thread Sorting through a rollover
where $max_spread is the maximum range you expect your numbers to cover before wrapping. 50_000 might be a better choice than 200.(abs($a - $b) <=> $max_spread) * ($b <=> $a)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Sorting through a rollover
by RazorbladeBidet (Friar) on Feb 10, 2005 at 20:40 UTC |