Re: Is it time to legitimise REAL*8 etc?



Dan Nagle <dannagle@xxxxxxxxxxx> wrote:

Hello,

On 2008-06-27 20:07:56 -0400, lindahl@xxxxxxx (Greg Lindahl) said:

programmers asked for what ended up being 36 bit variables when 32
would have worked most of the time.

Pray please explain how the kind system
allows the requirement of bit-sizes.
You know the algorithm works for 36 bit integers, but have not checked
for 32 bit fit during the coding. To be on the safe side you ask for an
integer kind that in decimal can hold values up to 10^10. Transfer to a
32 bit machine and you end up asking for 64 bit integers doubling the
memory required for integer values, and perhaps aking for something that
is not available. Similar problems can occur for floating point.
.