libsim Versione 7.2.4

◆ fp_s

integer, parameter fp_s = SELECTED_REAL_KIND(6)

single precision floating point (4 byte IEEE)

Definizione alla linea 258 del file kinds.F90.

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

Generated with Doxygen.