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



dpb wrote:
Clive Page wrote:
I whether anyone else would agree that it may be time to legitimise the
usage of data declarations of the form REAL*8, INTEGER*2 etc
...

I don't think that's the right solution to the SELECTED_REAL_KIND() cumbersomeness, though, either; so I'd also vote "no".

Hello,

Could someone explain to me the cumbersomeness of SELECTED_REAL(INT)_KIND() ??

I agree the syntax is a bit wordy, but doesn't one define these things (i.e. different kind types) once in a module and then use that module where I need anything other than default REALs/INTs? And then forget about it?

Are people saying that they actually use the intrinsic SELECTED_REAL(INT)_KIND() directly in every program/module they write when they need non-default reals or ints?

cheers,

paulv


I'll note I'm as guilty as any in using REAL*N as any when writing for Windows platform code that has a obvious limited usage outside the environment (essentially any and everything I tend to do).

OTOH, if I were writing code in an environment w/ a variety of platforms or that was likely to be useful in a more general context (some computational library or similar, say), I'd be far more concerned about the portability issues and pay far more attention to write for that environment.

--
.



Relevant Pages

  • Re: Is it time to legitimise REAL*8 etc?
    ... I'll note I'm as guilty as any in using REAL*N as any when writing for Windows platform code that has a obvious limited usage outside the environment. ... OTOH, if I were writing code in an environment w/ a variety of platforms or that was likely to be useful in a more general context, I'd be far more concerned about the portability issues and pay far more attention to write for that environment. ...
    (comp.lang.fortran)
  • Re: FAQ Topic - I have what ... ?
    ... var url = 'http://www.foo.bar '; ... Now i) either explain that it is not javascript psi-protocol usage ... in a web based environment and has nothing to do with HREF or ii) ...
    (comp.lang.javascript)
  • Re: [PATCH] private mounts
    ... You can't set "mount environment" in scp. ... mounts that we are talking about is much more dynamic than usage of ...
    (Linux-Kernel)
  • Re: database login vs. operating system login function
    ... unfortunately that is not how my environment is set up. ... Please refer to SQL ... >details on Application roles & its usage. ...
    (microsoft.public.sqlserver.programming)