Re: Rounding off double precision
- From: Dave Seaman <dseaman@xxxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 14:34:11 +0000 (UTC)
On Mon, 31 Mar 2008 06:55:27 -0700 (PDT), Chip Coldwell wrote:
Getting back to the OP,
parameter(Pi = 3.141592653589793238d0)
creates a literal constant with the double-precision value
Not in Fortran, unless "Pi" has been typed DOUBLE PRECISION or has the
appropriate KIND. By default, the double precision constant is truncated
to type REAL.
If you add "implicit none" to the program, the compiler complains because
"Pi" has not been given an explicit type.
--
Dave Seaman
Court affirms Judge Yohn's ruling.
<http://www.ipsnews.net/news.asp?idnews=41761>
.
- Follow-Ups:
- Re: Rounding off double precision
- From: Chip Coldwell
- Re: Rounding off double precision
- References:
- Rounding off double precision
- From: Bamm
- Re: Rounding off double precision
- From: Bamm
- Re: Rounding off double precision
- From: Richard Maine
- Re: Rounding off double precision
- From: Bamm
- Re: Rounding off double precision
- From: e p chandler
- Re: Rounding off double precision
- From: Bamm
- Re: Rounding off double precision
- From: glen herrmannsfeldt
- Re: Rounding off double precision
- From: Charles Coldwell
- Re: Rounding off double precision
- From: glen herrmannsfeldt
- Re: Rounding off double precision
- From: Chip Coldwell
- Rounding off double precision
- Prev by Date: Re: Press any key to continue?
- Next by Date: Re: Rounding off double precision
- Previous by thread: Re: Rounding off double precision
- Next by thread: Re: Rounding off double precision
- Index(es):