stdlib_kinds.f90 Source File


Files dependent on this one

sourcefile~~stdlib_kinds.f90~~AfferentGraph sourcefile~stdlib_kinds.f90 stdlib_kinds.f90 sourcefile~stdlib_linalg.fypp stdlib_linalg.fypp sourcefile~stdlib_linalg.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_ascii.fypp stdlib_ascii.fypp sourcefile~stdlib_ascii.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_optval.fypp stdlib_optval.fypp sourcefile~stdlib_optval.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_string_type.fypp stdlib_string_type.fypp sourcefile~stdlib_string_type.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_string_type.fypp->sourcefile~stdlib_ascii.fypp sourcefile~stdlib_quadrature.fypp stdlib_quadrature.fypp sourcefile~stdlib_quadrature.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_stats.fypp stdlib_stats.fypp sourcefile~stdlib_stats.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_stats_distribution_prng.fypp stdlib_stats_distribution_PRNG.fypp sourcefile~stdlib_stats_distribution_prng.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_error.f90 stdlib_error.f90 sourcefile~stdlib_stats_distribution_prng.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_math.fypp stdlib_math.fypp sourcefile~stdlib_math.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_bitsets.fypp stdlib_bitsets.fypp sourcefile~stdlib_bitsets.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_io.fypp stdlib_io.fypp sourcefile~stdlib_io.fypp->sourcefile~stdlib_kinds.f90 sourcefile~stdlib_io.fypp->sourcefile~stdlib_ascii.fypp sourcefile~stdlib_io.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_io.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_stats_cov.fypp stdlib_stats_cov.fypp sourcefile~stdlib_stats_cov.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_cov.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_cov.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_bitsets_large.fypp stdlib_bitsets_large.fypp sourcefile~stdlib_bitsets_large.fypp->sourcefile~stdlib_bitsets.fypp sourcefile~stdlib_stats_corr.fypp stdlib_stats_corr.fypp sourcefile~stdlib_stats_corr.fypp->sourcefile~stdlib_linalg.fypp sourcefile~stdlib_stats_corr.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_corr.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_corr.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_error.f90->sourcefile~stdlib_optval.fypp sourcefile~stdlib_quadrature_trapz.fypp stdlib_quadrature_trapz.fypp sourcefile~stdlib_quadrature_trapz.fypp->sourcefile~stdlib_quadrature.fypp sourcefile~stdlib_quadrature_trapz.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_strings.f90 stdlib_strings.f90 sourcefile~stdlib_strings.f90->sourcefile~stdlib_ascii.fypp sourcefile~stdlib_strings.f90->sourcefile~stdlib_string_type.fypp sourcefile~stdlib_stats_moment_scalar.fypp stdlib_stats_moment_scalar.fypp sourcefile~stdlib_stats_moment_scalar.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_moment_scalar.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_moment_scalar.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_stats_moment.fypp stdlib_stats_moment.fypp sourcefile~stdlib_stats_moment.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_moment.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_moment.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_stats_moment_mask.fypp stdlib_stats_moment_mask.fypp sourcefile~stdlib_stats_moment_mask.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_moment_mask.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_moment_mask.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_stats_moment_all.fypp stdlib_stats_moment_all.fypp sourcefile~stdlib_stats_moment_all.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_moment_all.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_moment_all.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_quadrature_simps.fypp stdlib_quadrature_simps.fypp sourcefile~stdlib_quadrature_simps.fypp->sourcefile~stdlib_quadrature.fypp sourcefile~stdlib_quadrature_simps.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_logger.f90 stdlib_logger.f90 sourcefile~stdlib_logger.f90->sourcefile~stdlib_ascii.fypp sourcefile~stdlib_logger.f90->sourcefile~stdlib_optval.fypp sourcefile~stdlib_bitsets_64.fypp stdlib_bitsets_64.fypp sourcefile~stdlib_bitsets_64.fypp->sourcefile~stdlib_bitsets.fypp sourcefile~stdlib_stats_mean.fypp stdlib_stats_mean.fypp sourcefile~stdlib_stats_mean.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_mean.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_mean.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_stats_var.fypp stdlib_stats_var.fypp sourcefile~stdlib_stats_var.fypp->sourcefile~stdlib_optval.fypp sourcefile~stdlib_stats_var.fypp->sourcefile~stdlib_stats.fypp sourcefile~stdlib_stats_var.fypp->sourcefile~stdlib_error.f90 sourcefile~stdlib_linalg_diag.fypp stdlib_linalg_diag.fypp sourcefile~stdlib_linalg_diag.fypp->sourcefile~stdlib_linalg.fypp sourcefile~f08estop.f90 f08estop.f90 sourcefile~f08estop.f90->sourcefile~stdlib_error.f90 sourcefile~f18estop.f90 f18estop.f90 sourcefile~f18estop.f90->sourcefile~stdlib_error.f90

Contents

Source Code


Source Code

module stdlib_kinds
!! version: experimental
use iso_fortran_env, only: sp=>real32, dp=>real64, qp=>real128
use iso_fortran_env, only: int8, int16, int32, int64
! If we decide later to use iso_c_binding instead of iso_fortran_env:
!use iso_c_binding, only: sp=>c_float, dp=>c_double, qp=>c_float128
!use iso_c_binding, only: int8=>c_int8_t, int16=>c_int16_t, int32=>c_int32_t, int64=>c_int64_t
implicit none
private
public sp, dp, qp, int8, int16, int32, int64
end module stdlib_kinds