Simple question about literal constants

From: Bernhard Georg Enders (bgeneto_at_hotmail.com)
Date: 02/19/04


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.



Relevant Pages