Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^4: porting C code to Perl -- solved

by Discipulus (Canon)
on Oct 23, 2017 at 19:59 UTC ( [id://1201928]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1201928]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-18 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found