romainfrancois commented on pull request #7819:
URL: https://github.com/apache/arrow/pull/7819#issuecomment-677596450
Rcpp has these :
```cpp
/* long are represented as numeric vectors which allows more precision
to be preserved than int */
template<> struct r_sexptype_traits<long>{ enum{ rtype = REALSXP } ; } ;
template<> struct r_sexptype_traits<unsigned long>{ enum{ rtype = REALSXP }
; } ;
```
so `uintptr_t` aka `unsigned long` (at least locally for me) get converted
to a `double`
I believe both are wrong (in terms of what this tries to do), but `cpp11` is
wronger.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]