[Rcpp-devel] On mailing list defaults, and suggested patch submission
Dominick Samperi
djsamperi at gmail.com
Tue Aug 24 17:58:15 CEST 2010
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.
I'm attaching the diffs. I don't think I can checkin directly, right?
Thanks,
Dominick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100824/6e4bf0b0/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvc.diff
Type: application/octet-stream
Size: 639 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100824/6e4bf0b0/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msvcmath.cpp
Type: application/octet-stream
Size: 1091 bytes
Desc: not available
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20100824/6e4bf0b0/attachment-0003.obj>
More information about the Rcpp-devel
mailing list