libsim Versione 7.1.11

◆ fp_d

integer, parameter fp_d = SELECTED_REAL_KIND(15)

double precision floating point (8 byte IEEE)

Definizione alla linea 265 del file kinds.F90.

265! Copyright (C) 2010 ARPA-SIM <urpsim@smr.arpa.emr.it>
266! authors:
267! Davide Cesari <dcesari@arpa.emr.it>
268! Paolo Patruno <ppatruno@arpa.emr.it>
269
270! This program is free software; you can redistribute it and/or
271! modify it under the terms of the GNU General Public License as
272! published by the Free Software Foundation; either version 2 of
273! the License, or (at your option) any later version.
274
275! This program is distributed in the hope that it will be useful,
276! but WITHOUT ANY WARRANTY; without even the implied warranty of
277! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
278! GNU General Public License for more details.
279
280! You should have received a copy of the GNU General Public License
281! along with this program. If not, see <http://www.gnu.org/licenses/>.
282#include "config.h"
283
293
321MODULE kinds
322IMPLICIT NONE
323
324INTEGER, PARAMETER :: int_b = selected_int_kind(1)
325INTEGER, PARAMETER :: int_s = selected_int_kind(4)
326INTEGER, PARAMETER :: int_l = selected_int_kind(8)
327INTEGER, PARAMETER, PRIVATE :: &
328 int_ll_t = selected_int_kind(16)
330INTEGER, PARAMETER :: int_ll = &
331 ( ( ( 1 + sign( 1, int_ll_t ) ) / 2 ) * int_ll_t ) + &
332 ( ( ( 1 - sign( 1, int_ll_t ) ) / 2 ) * int_l )
333
334INTEGER, PARAMETER :: fp_s = selected_real_kind(6)
335INTEGER, PARAMETER :: fp_d = selected_real_kind(15)
336INTEGER, PARAMETER, PRIVATE :: fp_q_t = selected_real_kind(20)
338INTEGER, PARAMETER :: fp_q = &
339 ( ( ( 1 + sign( 1, fp_q_t ) ) / 2 ) * fp_q_t ) + &
340 ( ( ( 1 - sign( 1, fp_q_t ) ) / 2 ) * fp_d )
341
342INTEGER, PARAMETER :: ptr_c = sizeof_ptr_c
343
344END MODULE kinds
Definition of constants to be used for declaring variables of a desired type.
Definition: kinds.F90:251

Generated with Doxygen.