Circles of given radius through two points: Difference between revisions
Circles of given radius through two points (view source)
Revision as of 10:43, 7 April 2024
, 2 months ago→{{header|11l}}: make Error a non-fatal exception
(Added Easylang) |
Alextretyak (talk | contribs) (→{{header|11l}}: make Error a non-fatal exception) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 50:
.msg = msg
F circles_from_p1p2r(p1, p2, r) X(Error)
‘Following explanation at http://mathforum.org/library/drmath/view/53027.html’
I r == 0.0
Line 81:
V (c1, c2) = circles_from_p1p2r(p1, p2, r)
print(" #.\n #.\n".format(c1, c2))
X.
print(" ERROR: #.\n".format(v.msg))</syntaxhighlight>
Line 123:
ERROR: radius of zero
</pre>
=={{header|Action!}}==
{{libheader|Action! Tool Kit}}
Line 4,717 ⟶ 4,718:
{{trans|Go}}
{{libheader|Wren-math}}
<syntaxhighlight lang="
var Two = "Two circles."
Line 4,812 ⟶ 4,813:
Center: (0.1234, 0.9876)
</pre>
=={{header|XPL0}}==
An easy way to solve this:
|