[Rcpp-devel] On mailing list defaults, and suggested patch submission

romain at r-enthusiasts.com romain at r-enthusiasts.com
Tue Aug 24 18:59:29 CEST 2010


Le 24 août 2010 à 17:58, Dominick Samperi <djsamperi at gmail.com> a écrit :

> 
> 
> On Sat, Aug 21, 2010 at 2:40 PM, Romain Francois <romain at r-enthusiasts.com> wrote:
> Not that I care, but I'm slightly surprised at the implementation of log1p :
> specifically that it throws an exception
> Romain
> 
> I changed the code in msvcmath.cpp to return non-signalling NaN when there is
> a problem instead of throwing an exception. This is what happens when you
> try sqrt(-1.0), for example.

Thanks. Ill have a look in a few days

> I'm attaching the diffs. I don't think I can checkin directly, right?

Right, you can't

> Thanks,
> Dominick
> 
> <msvc.diff>
> <msvcmath.cpp>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100824/1bd3ba67/attachment.htm>


More information about the Rcpp-devel mailing list