Skip to content

Commit

Permalink
Switch to iso_fortran_env
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jan 5, 2020
1 parent 220421f commit 23e0b79
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/stdlib_experimental_kinds.f90
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module stdlib_experimental_kinds
! Instead of iso_fortran_env, we use iso_c_binding, to be compatible with C
!use iso_fortran_env, only: sp=>real32, dp=>real64, qp=>real128
!use iso_fortran_env, only: int32, int64, int128
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
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_fortran_env 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
Expand Down

0 comments on commit 23e0b79

Please sign in to comment.