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