[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ATAN function with two ARGS
- Subject: ATAN function with two ARGS
- From: Ben Tupper <tupper(at)seadas.bigelow.org>
- Date: Mon, 05 Jun 2000 11:48:26 -0400
- Newsgroups: comp.lang.idl-pvwave
- Organization: Bigelow Laboratory for Ocean Sciences
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:19877
Hello,
I have bumped into a conflict between the IDL documentation and IDL output.
>From the IDL (5.2) docs, the optional argument Y is described as follows:
-------START
Y
An optional argument.
If this argument is supplied, ATAN returns the angle whose tangent
is equal to Y/X. If both arguments are zero, the result is undefined.
------END
So I tried the following...
IDL> help, ATAN(0.0,0.0)
<Expression> FLOAT = 0.00000
Uhoh! Is it me, or is it Monday morning syndrome?
Ben
--
Ben Tupper
Bigelow Laboratory for Ocean Science
tupper@seadas.bigelow.org
pemaquidriver@tidewater.net