[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATAN function with two ARGS



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