comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » ATAN function with two ARGS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: ATAN function with two ARGS [message #20375 is a reply to message #20289] Tue, 06 June 2000 00:00 Go to previous message
Paul Hick is currently offline  Paul Hick
Messages: 9
Registered: November 1999
Junior Member
I presume that IDL is compiled with whatever math libraries are
available on any particular operating system, so it will inherit
whatever peculiarities (not necessarily the same on every OS) are in
there. Another example: raise NaN to a floating point power on a Windows
machine:

IDL> print, !values.f_nan^2.0
0.000000
% Program caused arithmetic error: Floating illegal operand
IDL> print, !version
{ x86 Win32 Windows 5.3.1 Feb 23 2000}

IDL on Linux, for instance, gives the proper response:

IDL> print, !values.f_nan^2.0
NaN
IDL> print, !version
{ x86 linux unix 5.3 Nov 11 1999}

Paul
--
____________________________________________________________ _____
| Paul Hick (pphick@ucsd.edu) |
| Office : SERF Rm. 302 Smail : UCSD/CASS/0424 |
| Phone : (858) 534-8965 9500 Gilman Drive |
| Fax : (858) 534-0177 La Jolla CA 92093-0424 |
| WWW : http://casswww.ucsd.edu/personal/Plh.html |
|___________________________________________________________ ______|
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Postscript Output with Object Graphics?
Next Topic: Curvefit on PV-Wave

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 22:16:37 PDT 2025

Total time taken to generate the page: 0.23735 seconds