in reply to Re^3: porting C code to Perl -- solved
in thread porting C code to Perl

Hi soonix,

your version sounds much perlish! infact I translated the code line by line.

I totally agree that your version is more readable and .. explicit. It also avoid the divisor repetition.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.