Skip to content

Commit 5fb057a

Browse files
author
ripley
committed
more some info on stansalone nmath from R-exts to R-admin
git-svn-id: https://svn.r-project.org/R/trunk@88135 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 588e6ba commit 5fb057a

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

doc/NEWS.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
\section{\Rlogo CHANGES IN R 4.5.0 patched}{
7272
\subsection{BUG FIXES}{
7373
\itemize{
74-
\item Standalone \code{nmath} can be built again with early-2025
74+
\item Standalone \code{nmath} can be built with early-2025
7575
versions of \command{clang}-based compilers such as LLVM
7676
\command{clang}\sspace{}20, Apple \command{clang}\sspace{}17 and Intel
7777
\command{icx}\sspace{}2025.0.

doc/manual/R-admin.texi

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ is the current working directory (in the build directory tree on a
28992899
Unix-alike if that is separate from the sources).
29002900

29012901
@file{Rmath.h} contains @samp{R_VERSION_STRING}, which is a character
2902-
string containing the current @R{} version, for example @code{"4.4.0"}.
2902+
string containing the current @R{} version, for example @code{"4.5.0"}.
29032903

29042904
There is full access to @R{}'s handling of @code{NaN}, @code{Inf} and
29052905
@code{-Inf} via special versions of the macros and functions
@@ -2932,7 +2932,14 @@ an entry point
29322932
@end example
29332933

29342934
@noindent
2935-
to set its seeds).
2935+
to set its seeds and
2936+
2937+
@example
2938+
get_seed(unsigned int *, unsigned int *)
2939+
@end example
2940+
2941+
@noindent
2942+
to read the seeds).
29362943

29372944
The facilities to change the normal random number generator are
29382945
available through the constant @code{N01_kind}. This takes values

src/nmath/mlutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ double R_pow_di(double x, int n)
108108
/* It is not clear why these are being defined in standalone nmath:
109109
* but that they are is stated in the R-admin manual.
110110
*
111-
* In R NA_AREAL is a specific NaN computed during initialization.
111+
* In R NA_REAL is a specific NaN computed during initialization.
112112
*/
113113
#if defined(__clang__) && defined(NAN)
114114
// C99 (optionally) has NAN, which is a float but will coerce to double.

0 commit comments

Comments
 (0)