parse_real_sp_string Subroutine

private subroutine parse_real_sp_string(str, value, err)

Parse a string_type into a single precision real.

Arguments

Type IntentOptional Attributes Name
type(string_type), intent(in) :: str
real(kind=sp), intent(out) :: value
type(error_t), intent(out) :: err

Calls

proc~~parse_real_sp_string~~CallsGraph proc~parse_real_sp_string parse_real_sp_string proc~parse_real_sp_char parse_real_sp_char proc~parse_real_sp_string->proc~parse_real_sp_char interface~strip strip proc~parse_real_sp_char->interface~strip proc~error_has_error error_t%error_has_error proc~parse_real_sp_char->proc~error_has_error proc~error_set error_t%error_set proc~parse_real_sp_char->proc~error_set proc~parse_real_wide parse_real_wide proc~parse_real_sp_char->proc~parse_real_wide proc~strip_char strip_char interface~strip->proc~strip_char proc~strip_string strip_string interface~strip->proc~strip_string proc~parse_real_wide->interface~strip proc~parse_real_wide->proc~error_has_error proc~parse_real_wide->proc~error_set proc~check_exponent check_exponent proc~parse_real_wide->proc~check_exponent proc~skip_sign skip_sign proc~parse_real_wide->proc~skip_sign proc~check_exponent->proc~error_set proc~check_exponent->proc~skip_sign proc~strip_string->interface~strip

Called by

proc~~parse_real_sp_string~~CalledByGraph proc~parse_real_sp_string parse_real_sp_string interface~parse_real parse_real interface~parse_real->proc~parse_real_sp_string proc~cli_get_real_dp cli_t%cli_get_real_dp proc~cli_get_real_dp->interface~parse_real proc~cli_get_real_sp cli_t%cli_get_real_sp proc~cli_get_real_sp->interface~parse_real

Source Code

   subroutine parse_real_sp_string(str, value, err)
      !! Parse a `string_type` into a single precision real.
      type(string_type), intent(in) :: str
      real(sp), intent(out) :: value
      type(error_t), intent(out) :: err

      call parse_real_sp_char(char(str), value, err)

   end subroutine parse_real_sp_string