Anonymous user
Talk:Circles of given radius through two points: Difference between revisions
Talk:Circles of given radius through two points (view source)
Revision as of 19:35, 3 March 2021
, 3 years ago→More special cases: fixed a typo.
(→More special cases: Task desc is not self-consistent) |
m (→More special cases: fixed a typo.) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1:
==More special cases==
There may be more special cases. If p1==p2 and r==0, there is one unique answere that's a zero radius circle. If
<lang python>from math import sqrt
Line 30:
:::I could change it or leave it. Either case would work as the task explicitly states what to do with the r == 0.0 case, currently. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:11, 17 April 2013 (UTC)
::::The task states two mutually-incompatible things in that case. –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 12:35, 27 April 2013 (UTC)
::::And based on that, I've removed the marking of the Tcl version as incorrect. Inconsistencies in the spec mean that I can do that. (Anyone arguing that there always has to be two circles returned is just confusing restrictions caused by the way ''their'' language wants to do things; the natural thing in Tcl is just to return a list of all the circles that there are.) –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 13:53, 27 April 2013 (UTC)
:::And dealing with nearly "normal" specifications are an important part of programming ;-)<br> --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 21:15, 17 April 2013 (UTC)
== XPL0 ==
REXX referred to XPL0.
This section was removed at some point in time.
Unfortunately the History does not show when and by whom.
I restored now the old section --Walter Pachl 08:35, 15 October 2017 (UTC)
: By ''referred to'', it was meant that REXX entry was a translation <nowiki> {{trans|XPL0}} </nowiki> of the '''XPL0'''. entry. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 08:43, 15 October 2017 (UTC)
:: What's that other than a reference? --Walter Pachl 08:52, 15 October 2017 (UTC)
::: A reference could be anything that referenced (mentioned) something else by name but not necessarily contained herein on Rosetta Code --- for instance, the language '''xyz''' used/uses the assumption(s) yadda-yadda-yadda, or entry '''xyz''' used a similar approach, logic, data (for input), ... or any other number of things, most often (but not limited to) somewhere in the entry's preamble (or comments made elsewhere). However, a <nowiki> {{trans|XPL0}} </nowiki> means that (in this case) the '''REXX''' entry used (most likely) the '''XPL0''' entry (the source code here on this Rosetta Code task) as a basis or prototype for the computer programming language translation. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 09:52, 15 October 2017 (UTC)
:Walter, the XPL0 was actually never ''removed'': [http://rosettacode.org/mw/index.php?title=Circles_of_given_radius_through_two_points&diff=209250&oldid=208439 this edit] adding the entry on Visual FoxPro mistakenly ended with a ''pre'' HTML tag, which made the XPL0 entry show up at the end of the VisualFox Pro entry. I'll remove it now. [[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 20:17, 28 December 2017 (UTC)
|