User talk:Thundergnat: Difference between revisions

Line 436:
 
Wouldn't you agree that Rosettacode needs ''yet another'' task based on number theory? [https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke/blob/master/R/Ramanujan Ramanujan draft task]. Indirectly, I credit you for getting me started on this, as it was the Rat::Precise module that got me thinking... Any comments on the code appreciated; can you see any place where I'm doing more work than I need to? The main trick keeping the calculations in FatRat throughout. Is my task specification too minimal, i.e. it will leave people with questions? --[[User:SqrtNegInf|SqrtNegInf]] ([[User talk:SqrtNegInf|talk]]) 17:53, 19 April 2019 (UTC)
 
:I kind-of like the number theroic tasks, as long as they aren't just a copy of another task with a ''tiny'' difference. "Find and print all the primes up to 1000... but ''right'' justified!" :eye-roll: I keep on thinking maybe I should look at porting the ntheory module to Perl 6, but then I look inside, look at my schedule and quietly put it away again.
 
:This looks like a pretty cool task. It is interesting how much code it pulls in from other tasks, (and helped highlight some bugs in those examples.) I am amused that Ramanujan's constant was named by Martin Gardner as an April Fools prank. I tried rewriting a few of the subs to see if I could "improve" them but ended up about the same or worse. I do have a few suggestions. Added pull request to the repository. The only thing I see that may need clarification: you are asking for at least 32 digits of precision but only displaying 14. May want to either ask for less or display more. I'd say go for it. --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 12:57, 20 April 2019 (UTC)
10,351

edits