Skip to content

Commit

Permalink
Update src/stdlib_str2num.f90
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremie Vandenplas <[email protected]>
  • Loading branch information
jalvesz and jvdp1 authored Dec 26, 2023
1 parent 7c5de6c commit abe20e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stdlib_str2num.f90
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ elemental subroutine to_real_sp(s,v,p,stat)
real(dp), parameter :: fractional_base(nfnb) = [(10._dp**(-e),e=1,nfnb)]
real(dp), parameter :: expbase(nwnb+nfnb) = [whole_number_base, fractional_base]

integer(1) :: sign, sige !> sign of integer number and exponential
integer(int8) :: sign, sige !> sign of integer number and exponential
integer, parameter :: maxdpt = 11 !> Maximum depth to read values on int_wp
integer(dp) :: int_wp !> long integer to capture fractional part
integer :: i_exp !> integer to capture whole number part
Expand Down

0 comments on commit abe20e6

Please sign in to comment.