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