libsim Versione 7.1.11

◆ int_l

integer, parameter int_l = SELECTED_INT_KIND(8)

4-byte integer (long)

Definizione alla linea 256 del file kinds.F90.

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

Generated with Doxygen.