Format bug in version 4.0.1 VAX VMS [message #5563] |
Wed, 10 January 1996 00:00 |
Michael E. VanHoosier
Messages: 2 Registered: January 1996
|
Junior Member |
|
|
Hope this is not a previously reported bug in version 4.0.1 VAX VMS.
The bug can be demonstrated by
Print,format='(3F6.0)',49.4,49.5,49.6
49. 4:. 4:.
The IDL format processing does not round the numbers up correctly.
It probably can be traced to a ascii nine is 39H and a 3AH is a
semicolon. Bug is not present in Windows 4.0.1 version.
Michael E. VanHoosier
vanhoosier@susim.nrl.navy.mil
|
|
|
Re: Format bug in version 4.0.1 VAX VMS [message #5566 is a reply to message #5563] |
Wed, 10 January 1996 00:00  |
Michael E. VanHoosier
Messages: 2 Registered: January 1996
|
Junior Member |
|
|
Got the following response from RSI
> From: SMTP%"support@rsinc.com" 10-JAN-1996 16:54:03.46
> To: VANHOOSIER
> CC:
> Subj: Re: Format error
>
> Date: Wed, 10 Jan 1996 09:53:37 -0700 (MST)
> From: RSI email support <support@rsinc.com>
> X-Sender: support@spud
> To: "Michael..NRL..(202) 767-2517" <VANHOOSIER@susim.nrl.navy.mil>
>
> Michael,
>
> According to our developers, this is a bug in the DEC runtime
> library. Our developers filed a bug report with DEC on 8/19/93
> (DEC sequence #C930899-2925) under which they ackowledged that it
> was their error. Here is a C program from that report that tickles
> the problem:
>
> #include <stdio.h>
>
> main()
> {
> printf("%#13.6g", 314109.968750);
> }
>
> The ALPHA verson of this was fixed under ALPHA/VMS 6.1.
>
> The VAX C runtime library used in IDL 4.0.1 is derived from the ALPHA
> C environment --- apparently a copy that still contains this error.
> I have verified that the above program does now produce the same
> incorrect
> results under VAX/VMS 5.5-2 using the "DEC C/C++ Run Time Components
> Version 6.0 for OpenVMS VAX Systems" as supplied with the DEC C
> compiler
> used for IDL. This is the AACRT060 package redistributed with IDL 4.0.1
> for those running VMS 5.5-2 through 6.0.
>
> With the help of a customer running VAX/VMS 6.1 and 6.2, I can also
> report
> that this problem has already been fixed by DEC in those versions.
>
> Users encountering this problem should either update their installation
> to VMS 6.1 or 6.2, or contact DEC to determine if any patches are
> available.
>
> Sincerely,
> Mark
> RSI
>
> +----------------------------------------------------------- -+
> | support@rsinc.com | IDL ENVI Visible-Human |
> | 303-786-9930 x320 | Technical Support |
> +----------------------------------------------------------- -+
>
>
> On Wed, 10 Jan 1996, Michael..NRL..(202) 767-2517 wrote:
>
>> Date: Wed, 10 Jan 1996 15:04:01 GMT
>> From: Michael..NRL..(202) 767-2517 <VANHOOSIER@susim.nrl.navy.mil>
>> To: support@rsinc.com
>> Subject: Format error
>>
>>
>> NEED a patch for this problem ASAP!!!!!
>>
>> running Version 4.0.1 (vms vax). when I do a
>>
>> prit,format='(6.0)',49.5
>> 4:.
>>
>> is the result.It looks like any number that gets rounded from 9.5 is
>> incorrect. Version 4.0 has other bugs but not this one. I can go back
>> but would prefer a fix ASAP.
>>
>> Michael
|
|
|