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

Home » Public Forums » archive » Re: Bug on IDL 5.0 (VMS 6.2) with alog10()
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: Bug on IDL 5.0 (VMS 6.2) with alog10() [message #9336 is a reply to message #9327] Sat, 21 June 1997 00:00 Go to previous messageGo to previous message
Gilles Ratel is currently offline  Gilles Ratel
Messages: 5
Registered: March 1997
Junior Member
Jack Saba <jsabaxxx@magus.stxqr.com> wrote in article
<33AA86A7.1A3D@magus.stxqr.com>...
> HSR Sys-Admin wrote:
>>
>> Hello,
>>
>> here is some dammed error, which costs us a day to find:
>>
>> VMS 6.2 IDL 5.0:
>>
>> print,alog10(0.0)
>>
>> hui! no error?
>>
>> and:
>>
>> print,alog10(0.0)*20
>>
>> what? a nice integer? but at least now with an error!
>>
>> under D-Unix the error did not occur!
>>
>> under 4.01 VMS it is the same as above!
>>
>> be aware of your math-routines and alog10!
>
> We don't have the final version up yet, but for IDL5 beta on HP-UX
> 10.10,
>
> IDL> print,alog10(0.0)
> ---.0000
> % Program caused arithmetic error: Floating overflow
>

Here, with idl v5.0 and openVMS 6.2-1H3
$ idl
IDL Version 5.0 (vms alpha). Research Systems, Inc.

IDL> print,alog10(0.0)
-1.70141e+38
IDL> print,alog10(double(0.0))
-1.7014118e+38
% Program caused arithmetic error: Floating overflow


Also, if you have motif (DECWindows) look logical name DECW$USER_DEFAULTS
example:

$ DEFINE DECW$USER_DEFAULTS DISK:[path]
$ idl
IDL> id = WIDGET_BASE()
IDL> exit
$ SHOW LOGICAL DECW$USER_DEFAULTS
and logical name is : ".0."
exercice: define a button with font, and verify DECW$USER_DEFAUTS: and the
answer is?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: CALL_EXTERNAL and structures
Next Topic: interactive windowing and leveling

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

Current Time: Sun Oct 12 11:31:57 PDT 2025

Total time taken to generate the page: 0.56144 seconds