libsim Versione 7.2.1

◆ 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 262 del file kinds.F90.

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

Generated with Doxygen.