Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Can you make it nicer?

by LanX (Canon)
on Nov 19, 2013 at 00:59 UTC ( #1063231=note: print w/ replies, xml ) Need Help??


in reply to Re: Can you make it nicer?
in thread Can you make it nicer?

> it is nonetheless obvious as to what it does.

ORLY?

The original code is buggy for > 1e10, guess why!

Cheers Rolf

( addicted to the Perl Programming Language)

PS: Did anyone really expect you would contribute any code?


Comment on Re^2: Can you make it nicer?
Re^3: Can you make it nicer?
by oiskuu (Pilgrim) on Nov 19, 2013 at 16:27 UTC
    How exactly is it buggy for id > 1e10?

    I will have to side with sundialsvc4 here. The original code is immediately obvious and clear for a C programmer.

      use Test::More tests => 1; is('C', 'Perl', 'language');
      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-09-21 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (168 votes), past polls