Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion how to declare doubles in f95

Path: g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!transit3.readnews.com!news-out.readnews.com!news-xxxfer.readnews.com!news.uchicago.edu!nntp-server.caltech.edu!not-for-mail
From: glen herrmannsfeldt <g...@ugcs.caltech.edu>
Newsgroups: comp.lang.fortran
Subject: Re: how to declare doubles in f95
Date: Fri, 30 Jan 2009 04:15:37 +0000 (UTC)
Organization: California Institute of Technology, Pasadena
Lines: 24
Message-ID: <gltut9$je2$1@naig.caltech.edu>
References: <0b898c8f-5866-4942-bf2b-171655d6658a@r15g2000prh.googlegroups.com> <0289e231-31e3-49eb-9e41-1a286852c366@n33g2000pri.googlegroups.com> <udjxtb9mxxhs.eywzbdk3l9pz.dlg@40tude.net> <1iubhot.647zfrly48lqN%nospam@see.signature>
NNTP-Posting-Host: thalia.ugcs.caltech.edu
X-Trace: naig.caltech.edu 1233288937 19906 131.215.176.116 (30 Jan 2009 04:15:37 GMT)
X-Complaints-To: abuse@caltech.edu
NNTP-Posting-Date: Fri, 30 Jan 2009 04:15:37 +0000 (UTC)
User-Agent: tin/1.9.3-20080326 ("Dalaruan") (UNIX) (Linux/2.6.24ugcs1 (i686))
X-Received-Date: Thu, 29 Jan 2009 22:15:50 CST (news.uchicago.edu)

Richard Maine <nos...@see.signature> wrote:
> Larry Gates <la...@example.invalid> wrote:
 
>> On Wed, 28 Jan 2009 17:42:32 -0800 (PST), e p chandler wrote:
 
>> > integer, parameter :: dp = kind(1.0d0)
 
>> Is this guaranteed to give dp as opposed to qp?
 
> Yes. My imagination fails me in trying to come with a way 
> that one might even think otherwise.

Well, if you have AUTODBL, or whatever the automatic
double option is, then it could be what otherwise would
have been quad.  But I agree, that previous quad is
now double. 

It is the type that you would get with a

      DOUBLE PRECISION 

statement, which is double precision.

-- glen