Re: busting sp datatypes



wim wrote:
(snip)

This is from the point of view of an engineer: Why do you
want to know how much bits an integer occupies? Is it
not a lot more useful to know the resulting numerical range
that can be represented with the integer?

The OP wanted an integer the same size as a kind(1d0) real.

No suggestion of why one was needed.

I believe it isn't legal to EQUIVALENCE them, partly
because there is no standard way to get the sizes right.

-- glen

.