Boulea7 opened a new pull request, #1048: URL: https://github.com/apache/arrow-nanoarrow/pull/1048
Closes #1042. R's int64 and uint64 converters now count values that round when converted to double. The fast path handles integers in the contiguous exact range. Outside that range, the converter checks the round trip and guards the upper endpoint before casting back. This removes the warning for the report's exact `2^54` and counts rounded inputs such as `2^53 + 1`. The report's year-2999 POSIXct input already passes on main after #1034. Validated with R 4.5.3 source builds, the full available R suite (71 optional-dependency skips), and independent checks of sliced int64 and uint64 arrays with nulls. On macOS arm64, each median below uses 14 blocks of 40 conversions per build, with 1,000,000 values per conversion. | Input | Main | This change | | --- | ---: | ---: | | Small positive | 2.513 ms | 2.487 ms | | Small mixed signs | 1.413 ms | 1.375 ms | | Large exact positive | 1.525 ms | 1.325 ms | | Mixed small and large positive | 5.912 ms | 4.400 ms | Prepared with Codex assistance and independently reviewed. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
