Talk:Pi: Difference between revisions

46 bytes added ,  12 years ago
m
→‎Task split: pre-split so I can respond piecemeal
m (→‎Task split: pre-split so I can respond piecemeal)
Line 58:
I think what's currently at [[Pi]] should be moved to [[Pi/Spigot]], to reflect that it's asking for a spigot algorithm for Pi. It may also be a good idea to have [[Pi/Constant]], for language-provided constants representing pi, or some specific approximation thereof. Perhaps [[Pi]] itself should be left more general, or as a set of links to other ways to retrieve Pi. Or perhaps be a task which ''uses'' pi, which necessitates an example author's obtaining the value somehow. ("Calculate the circumference of the circle whose radius is 1/2π" would probably be sufficient and interesting; the correct answer is 1, but most code would reach that result only through precision loss.) Part of the trouble I'm observing in the hoopla around this task right now appears to be that the GUISS solution doesn't solve the task as stated, but ''does'' answer the question "how do I get π into my program," which is a question I'm likely to have if I were to visit a Rosetta Code task page named Pi. --[[User:Short Circuit|Michael Mol]] 11:56, 26 July 2011 (UTC)
:If we create Pi/Constant it should just redirect to [[Real constants and functions]]. I'd be ok with renaming this page to a specific algorithm name. --[[User:Mwn3d|Mwn3d]] 12:20, 26 July 2011 (UTC)
::"Calculate the circumference of the circle whose radius is 1/2π" seems bad, since specifying how the calculation is done is territory best left alone, and you cannot realistically specify the starting point. "Calculate the circumference of a circle whose radius is 1" would not be too bad, though "Calculate to n digits the circumference of a circle with radius n, show some examples and describe the maximum n supported by your implementation" might be more interesting. Also, for that matter, [[Pi]] can be implemented without use of a spigot algorithm, if you are not concerned about efficiency. --[[User:Rdm|Rdm]] 12:37, 26 July 2011 (UTC)
::Also, for that matter, [[Pi]] can be implemented without use of a spigot algorithm, if you are not concerned about efficiency. --[[User:Rdm|Rdm]] 12:37, 26 July 2011 (UTC)