Re: types (conflict) [message #36839] |
Sat, 01 November 2003 10:00 |
Craig Markwardt
Messages: 1869 Registered: November 1996
|
Senior Member |
|
|
Reimar Bauer <R.Bauer@fz-juelich.de> writes:
> Dear all
> only for information
>
> I recognized a lot of people don't know that there is a difference in coding
> of double numbers.
Good points, Reimer! I think we also had the newsgroup discussion
recently that
a = 9999.9D ; and
a = double(9999.9)
are different expressions. This is the same kind of problem you were
pointing out in your post. The first case is a native double
precision value. The second case starts out as single precision, and
is converted to double; some precision can be lost in conversion.
Craig
--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
|
|
|