Simple question about literal constants
From: Bernhard Georg Enders (bgeneto_at_hotmail.com)
Date: 02/19/04
- Next message: Paul van Delst: "Re: [OT] Funny"
- Previous message: alex: "Fortran90 and XML DOM"
- Next in thread: Jan C. Vorbrüggen: "Re: Simple question about literal constants"
- Reply: Jan C. Vorbrüggen: "Re: Simple question about literal constants"
- Reply: David Ham: "Re: Simple question about literal constants"
- Reply: Herman D. Knoble: "Re: Simple question about literal constants"
- Reply: Richard Maine: "Re: Simple question about literal constants"
- Reply: Catherine Rees Lay: "Re: Simple question about literal constants"
- Reply: beliavsky_at_aol.com: "Re: Simple question about literal constants"
- Reply: Donald Arseneau: "Re: Simple question about literal constants"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 19 Feb 2004 11:46:00 -0300
Hi!
In the following expression
integer, parameter :: dp = selected_real_kind(15)
real(dp) :: m, x
m = 0.1006_dp*x + 0.0137_dp*x**2
Is the kind type parameter '_dp' really obligatory? What is the rule for
it's usage?
TIA,
Bernhard.
- Next message: Paul van Delst: "Re: [OT] Funny"
- Previous message: alex: "Fortran90 and XML DOM"
- Next in thread: Jan C. Vorbrüggen: "Re: Simple question about literal constants"
- Reply: Jan C. Vorbrüggen: "Re: Simple question about literal constants"
- Reply: David Ham: "Re: Simple question about literal constants"
- Reply: Herman D. Knoble: "Re: Simple question about literal constants"
- Reply: Richard Maine: "Re: Simple question about literal constants"
- Reply: Catherine Rees Lay: "Re: Simple question about literal constants"
- Reply: beliavsky_at_aol.com: "Re: Simple question about literal constants"
- Reply: Donald Arseneau: "Re: Simple question about literal constants"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|