dplyr
dplyr copied to clipboard
bug in `dplyr::near`?
Is the following example a bug in near
?
> near(1.1 * 100 * 10^200, 110 * 10^200)
[1] FALSE
Originally posted by @bundfussr in https://github.com/pharmaverse/admiral/issues/2060#issuecomment-1691876301
The same example works as expected with base::all.equal()
> all.equal(1.1 * 100 * 10^200, 110 * 10^200)
[1] TRUE