Re: 1.0d0 stored as integer?



David Gunter <dogunter@xxxxxxxxx> wrote:

I am trying to come up with an explanation for the following behavior.
Setting a real*8 variable to 1.0d0 somehow creates a memory allocation
in which only the single digit "1" is stored. Can anyone explain why?

Doesn't look to me as though this has anything at all to do with what is
"stored". Looks to be just how gdb chooses to display its output.

--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.