libsim Versione 7.2.4

◆ int_b

integer, parameter int_b = SELECTED_INT_KIND(1)

1-byte integer (byte)

Definizione alla linea 248 del file kinds.F90.

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

Generated with Doxygen.