[Rcpp-devel] NA_REAL in RcppParallel

Jason Foster jason.j.foster at gmail.com
Fri Jun 3 02:21:51 CEST 2016


Thank you, Bill and Dirk, for the suggestions and insight. Much appreciated.

On Thu, Jun 2, 2016 at 12:03 PM, Dirk Eddelbuettel <edd at debian.org> wrote:

>
> For the particular case of 'not finite' on floats I also found that I could
> resort to the standard NaN which IEEE arithmetic supports.  Of course, this
> will then be a NaN in R and not a NA where you might want the latter.  But
> at
> least it stays cleanly away from R which may help in the multithreaded
> contexts.
>
> Dirk
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20160602/1f44ff31/attachment.html>


More information about the Rcpp-devel mailing list