Print

Print


Phillip Helbig wrote:
> 
> I think there is another issue involved here.  Most folks don't know
> what precision they actually need.  They try out something and it works.
> The problem is, what one gets is the smallest data type which complies
> with the constraints.  Perhaps this is, say, 64 bits on one machine.
> Obviously, this might not work if a 32-bit type is available.  So much
> for portability.  In this example, REAL MIGHT suffer from the same
> problem (though note that the default size of REAL is not necessarily
> the same as "the number of bits the machine is"---it is on Cray, it
> isn't on VMS); my point is that KIND doesn't solve all portability
> problems.

Certainly, and it does nothing for you when calling libraries, e.g.
for BLAS it's DGEMM I generally want on my workstation here, but for
the Cray it's SGEMM. Hopefully once CoCo comes along this problem
will disapear,

Ian


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%