Re: [Rd] Floating point issue

2022-07-19 Thread Taras Zakharko
> So in this case, the different results are not due to the architecture (M1 > aka ARM64) but to the system/implementation. I would say that your results demonstrate that R number parsing code relies on higher-than double precision to perform correct number parsing. Extended precision is not gu

Re: [Rd] Floating point issue

2022-07-19 Thread Olivier Benz
The difference between macOS 12.4 and Debian 11 (Docker, virtualization framework) running on a MacBook Pro (M1 Max). -> `.Machine$sizeof.longdouble` on macOS returns 8 whereas on Debian 11 it returns 16. macOS 12.4 on MacBook Pro (M1 Max): ``` r .Machine #> $double.eps #> [1] 2.220446e-16 #> #