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