Skip to content

Commit c172a06

Browse files
authored
Merge pull request #1162 from RcppCore/feature/cfloat_header
add cfloat header (fixes #1161)
2 parents 27f24f0 + 7bfec31 commit c172a06

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

ChangeLog

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1+
2021-05-09 Dirk Eddelbuettel <[email protected]>
2+
3+
* inst/include/RcppCommon.h: Add cfloat header
4+
15
2021-04-09 Dirk Eddelbuettel <[email protected]>
26

37
* inst/include/Rcpp/hash/IndexHash.h: Silence one comparison, update
4-
use of unsigned it to uint32_t throughout
8+
use of unsigned int to uint32_t throughout
59

610
2021-03-22 Dirk Eddelbuettel <[email protected]>
711

inst/NEWS.Rd

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
which are now O(1) (Dirk and Iñaki in \ghpr{1133} and \ghpr{1135}
1212
fixing \ghit{382} and \ghit{1081}).
1313
\item A spuriously assigned variable was removed (Dirk in
14-
\ghpr{1138} fixing \ghit{1137})
14+
\ghpr{1138} fixing \ghit{1137}).
1515
\item Global \code{Rcout} and \code{Rcerr} objects are supported
1616
via a compiler directive (Iñaki in \ghpr{1139} fixing \ghit{928})
1717
\item Add support for \code{Rcpp::message} (Dirk in \ghpr{1146}
18-
fixing \ghit{1145})
18+
fixing \ghit{1145}).
19+
\item The \code{uint32_t} type is used throughout instead of
20+
\code{unsigned int} (Dirk in \ghpr{1153} fixing \ghit{1152}).
21+
\item The \code{cfloat} header for floating point limits is now
22+
included {\Dirk in \ghpr{1162} fixing \ghit{1161}).
1923
}
2024
\item Changes in Rcpp Attributes:
2125
\itemize{

inst/include/RcppCommon.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ namespace Rcpp {
6363
#include <numeric>
6464
#include <algorithm>
6565
#include <complex>
66+
#include <cfloat>
6667
#include <limits>
6768
#include <typeinfo>
6869
#include <Rcpp/sprintf.h>

0 commit comments

Comments
 (0)