From 70026ccdd5c0328a897b3ad4b342fba51d61f48f Mon Sep 17 00:00:00 2001 From: hornik Date: Thu, 10 Oct 2024 09:04:17 +0000 Subject: [PATCH] Tweaks. By Ivan Krylov. git-svn-id: https://svn.r-project.org/R/trunk@87216 00db46b3-68df-0310-9c12-caf00c1e9a41 --- doc/manual/R-exts.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/manual/R-exts.texi b/doc/manual/R-exts.texi index c90b2806eed..fb3e87564ce 100644 --- a/doc/manual/R-exts.texi +++ b/doc/manual/R-exts.texi @@ -16482,12 +16482,12 @@ longer recommended. @apifun R_atof @apifun R_strtod -@deftypefun void R_atof (const char* @var{str}) -@deftypefunx void R_strtod (const char* @var{str}, char ** @var{end}) +@deftypefun double R_atof (const char* @var{str}) +@deftypefunx double R_strtod (const char* @var{str}, char ** @var{end}) Implementations of the C99/POSIX functions @code{atof} and @code{strtod} which guarantee platform-dependent behaviour, including always using the -period as the decimal point @emph{aka} `@I{radix character}' and converting -@code{"NA"} to R's @code{NA_REAL_} . +period as the decimal point @emph{aka} `@I{radix character}' and returning +R's @code{NA_REAL_} for all unconverted strings, including @code{"NA"}. @end deftypefun