Talk:Pi: Difference between revisions

437 bytes added ,  12 years ago
→‎Deleted GUISS solution: We're not here to talk about Java...stay focused. It was an example.
(→‎Deleted GUISS solution: Note on Java's capabilities)
(→‎Deleted GUISS solution: We're not here to talk about Java...stay focused. It was an example.)
Line 43:
:::::Presumably not, because it would be limited to the precision of the conventional floating point, like most other languages, or does it support arbitrary precision? [[User:Markhobley|Markhobley]] 11:27, 24 July 2011 (UTC)
:::::: While Java's got arbitrary precision fractions (<tt>java.math.BigDecimal</tt>), it's π value is just IEEE double precision. That's good enough for most work. –[[User:Dkf|Donal Fellows]] 21:18, 24 July 2011 (UTC)
:::::Ignoring all of that...the point of that comment was that displaying a stored value isn't in line with what this task is really asking for. I could also store a couple million digits of pi in a file which was created by some other program and then just display the contents of that file. The point is to generate the digits through calculation which is part of the example you post. --[[User:Mwn3d|Mwn3d]] 21:32, 24 July 2011 (UTC)
:::In no way does the GUISS solution fit the spirit of the task and should be removed. In what way does it give ''successive'' digits of Pi, "until aborted by the user"? The task description is clearly asking that you use a routine that generates the digits of Pi in sequence - GUISS does not ensure that and so should be removed. The GUISS example does not aid language comparison - it stands out as an anomaly. --[[User:Paddy3118|Paddy3118]] 05:37, 24 July 2011 (UTC)
::::Hmmm, It does generate the digits o Pi in sequence. There is an abort button on the calculator, but I don't know whether it works midflow. By replacing the desktop calculator with one that uses a bigger display to get more digits and supports abortion midflow. The GUISS solution would fit the task. The limitation is with the tool provided, rather than with GUISS. [[User:Markhobley|Markhobley]] 09:11, 24 July 2011 (UTC)
Anonymous user