Circles of given radius through two points: Difference between revisions

→‎{{header|11l}}: make Error a non-fatal exception
(Added Easylang)
(→‎{{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.catchhandle Error v
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="ecmascriptwren">import "./math" for Math
 
var Two = "Two circles."
Line 4,812 ⟶ 4,813:
Center: (0.1234, 0.9876)
</pre>
 
=={{header|XPL0}}==
An easy way to solve this:
1,481

edits