1. Re: abs and rad
- Posted by Jeff Zeitlin <jeff.zeitlin at MAIL.EXECNET.COM>
Sep 02, 1998
-
Last edited Sep 03, 1998
On Wed, 2 Sep 1998 00:00:52 -0400, Roy Shepherd
<sroy at GLOBALNET.CO.UK> wrote:
>Doug Cox wrote:
>> While doing some porting from QBasic to Euphoria,
>> I came across some commands that I've been unable
>> to stick into Euphoria. If anyone could offer a Euphoria
>> equivalent to any of these, it would help a lot.
>Well hears my answer to abs and rad a another function missing from=20
>Euphoria. I've included a couple of routines to show they work.
>include graphics.e
>include get.e
>constant PI =3D3D 3.1415927--also handy to know
Actually, a better approximation would be 4 * arctan(1.0)
--
Jeff Zeitlin
jeff.zeitlin at mail.execnet.com