libsim Versione 7.1.11

◆ fp_q

integer, parameter fp_q = ( ( ( 1 + SIGN( 1, fp_q_t ) ) / 2 ) * fp_q_t ) + ( ( ( 1 - SIGN( 1, fp_q_t ) ) / 2 ) * fp_d )

quad precision floating point (16 byte IEEE) if supported, otherwise double precision floating point

Definizione alla linea 268 del file kinds.F90.

268! Copyright (C) 2010 ARPA-SIM <urpsim@smr.arpa.emr.it>
269! authors:
270! Davide Cesari <dcesari@arpa.emr.it>
271! Paolo Patruno <ppatruno@arpa.emr.it>
272
273! This program is free software; you can redistribute it and/or
274! modify it under the terms of the GNU General Public License as
275! published by the Free Software Foundation; either version 2 of
276! the License, or (at your option) any later version.
277
278! This program is distributed in the hope that it will be useful,
279! but WITHOUT ANY WARRANTY; without even the implied warranty of
280! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
281! GNU General Public License for more details.
282
283! You should have received a copy of the GNU General Public License
284! along with this program. If not, see <http://www.gnu.org/licenses/>.
285#include "config.h"
286
296
324MODULE kinds
325IMPLICIT NONE
326
327INTEGER, PARAMETER :: int_b = selected_int_kind(1)
328INTEGER, PARAMETER :: int_s = selected_int_kind(4)
329INTEGER, PARAMETER :: int_l = selected_int_kind(8)
330INTEGER, PARAMETER, PRIVATE :: &
331 int_ll_t = selected_int_kind(16)
333INTEGER, PARAMETER :: int_ll = &
334 ( ( ( 1 + sign( 1, int_ll_t ) ) / 2 ) * int_ll_t ) + &
335 ( ( ( 1 - sign( 1, int_ll_t ) ) / 2 ) * int_l )
336
337INTEGER, PARAMETER :: fp_s = selected_real_kind(6)
338INTEGER, PARAMETER :: fp_d = selected_real_kind(15)
339INTEGER, PARAMETER, PRIVATE :: fp_q_t = selected_real_kind(20)
341INTEGER, PARAMETER :: fp_q = &
342 ( ( ( 1 + sign( 1, fp_q_t ) ) / 2 ) * fp_q_t ) + &
343 ( ( ( 1 - sign( 1, fp_q_t ) ) / 2 ) * fp_d )
344
345INTEGER, PARAMETER :: ptr_c = sizeof_ptr_c
346
347END MODULE kinds
Definition of constants to be used for declaring variables of a desired type.
Definition: kinds.F90:251

Generated with Doxygen.