Re: [Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread mikefc
I could be completely wrong, but I > did at least build R with this patch and then no longer observed the odd > behavior reported by mikefc. > > Index: src/main/bind.c > === > --- src/main/bind.c(re

[Rd] Fwd: Bug report: cbind with numeric and raw gives incorrect result

2018-09-25 Thread mikefc
Hi there, using cbind with a numeric and raw argument produces an incorrect result. I've posted some details below, kind regards, Mike. e.g. > cbind(0, as.raw(0)) [,1] [,2] [1,]0 6.950136e-310 A longer example shows that the result is not a rounding error, is not consiste