Skip to content

Commit 23e0b79

Browse files
committed
Switch to iso_fortran_env
1 parent 220421f commit 23e0b79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/stdlib_experimental_kinds.f90

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module stdlib_experimental_kinds
2-
! Instead of iso_fortran_env, we use iso_c_binding, to be compatible with C
3-
!use iso_fortran_env, only: sp=>real32, dp=>real64, qp=>real128
4-
!use iso_fortran_env, only: int32, int64, int128
5-
use iso_c_binding, only: sp=>c_float, dp=>c_double, qp=>c_float128
6-
use iso_c_binding, only: int8=>c_int8_t, int16=>c_int16_t, int32=>c_int32_t, int64=>c_int64_t
2+
use iso_fortran_env, only: sp=>real32, dp=>real64, qp=>real128
3+
use iso_fortran_env, only: int8, int16, int32, int64
4+
! If we decide later to use iso_fortran_env instead of iso_fortran_env:
5+
!use iso_c_binding, only: sp=>c_float, dp=>c_double, qp=>c_float128
6+
!use iso_c_binding, only: int8=>c_int8_t, int16=>c_int16_t, int32=>c_int32_t, int64=>c_int64_t
77
implicit none
88
private
99
public sp, dp, qp, int8, int16, int32, int64

0 commit comments

Comments
 (0)