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

> 
> 
> On Sat, Aug 21, 2010 at 2:40 PM, Romain Francois <rom...@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>
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to