-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve int64 coercion behaviour (#206)
Co-authored-by: Davis Vaughan <davis@rstudio.com>
- Loading branch information
1 parent
89c68fb
commit 1931572
Showing
3 changed files
with
32 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# can't can't compare large integers | ||
|
||
Code | ||
num_equal(9007199254740996, bit64::as.integer64(1)) | ||
Condition | ||
Error in `num_equal()`: | ||
! No way to coerce to compatible numeric type. | ||
i Try again without setting `tolerance`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters