string_to_real_func Interface

interface
private subroutine string_to_real_func(str, use_quiet_nan, rval, status_ok)

Arguments

Type IntentOptional Attributes Name
character(kind=CK, len=*), intent(in) :: str

the string to convert to a real

logical(kind=LK), intent(in) :: use_quiet_nan

if true, return NaN’s as ieee_quiet_nan. otherwise, use ieee_signaling_nan.

real(kind=RK), intent(out) :: rval

str converted to a real value

logical(kind=LK), intent(out) :: status_ok

true if there were no errors

Description

Function to convert a string to a real value