libsim Versione 7.2.1

◆ int_ll

integer, parameter int_ll = ( ( ( 1 + SIGN( 1, int_ll_t ) ) / 2 ) * int_ll_t ) + ( ( ( 1 - SIGN( 1, int_ll_t ) ) / 2 ) * int_l )

8-byte integer (long long) if supported, otherwise 4-byte integer

Definizione alla linea 254 del file kinds.F90.

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

Generated with Doxygen.