Michael Metcalf wrote:
>
>
> dp = selected_real_kind(2*precision(1.0_sp))
>
I've always found that this was a cryptic way to express something simple:
dp = kind(1.0d0)
(and less robust, since the precision(1.0d0) may be less than twice precision(1.0) in some unlikely but possible implementations)
Regards,
Pierre
--
-----------------------------------------------------------------------
Pierre Hugonnet R&D Data Processing
COMPAGNIE GENERALE DE GEOPHYSIQUE - Paris Processing Centre
1, rue Leon Migaux / 91341 MASSY cedex / FRANCE
phone:(33) 164 47 45 59 fax:(33) 164 47 32 49
email:phugonnet(at)cgg.com (replace (at) by @)
-----------------------------------------------------------------------
The opinions expressed in this message are not necessarily
those of CGG or of Jacques Chirac
-----------------------------------------------------------------------
|