Re: problem converting FORTRAN to IDL [message #3954] |
Fri, 14 April 1995 00:00 |
zawodny
Messages: 121 Registered: August 1992
|
Senior Member |
|
|
In article <D6zHn2.LyF@ireq.hydro.qc.ca> brooker@toka.ireq-ccfm.hydro.qc.ca writes:
> This is an observation I have just made about IDL.
>
> When you compile a FORTRAN program, you can specify G_floating
> implementations of REAL*8. This extends the range of numbers to +-0.56D308.
> (For default D_floating, the maximum number allowed is 0.29D38.)
>
> On the other hand, IDL has no option for the larger G_floating numbers. This
> makes for problems when you convert a "G_floating REAL*8 " FORTRAN program to
> IDL.
>
> Peter Brooker
Gee, maybe I do not understand your problem, but I did this quick test.
IDL> a=.5d308
IDL> print,a
5.0000000e+307
Therefor you should be able to use the IDL DOUBLE to implement FORTRAN
G_floating calculations.
Hope this helps,
--
Joseph M. Zawodny (KO4LW) NASA Langley Research Center
Internet: j.m.zawodny@larc.nasa.gov MS-475, Hampton VA, 23681-0001
TCP/IP: ko4lw@ko4lw.ampr.org Packet: ko4lw@n4hog.va.usa.na
|
|
|