-
-
Notifications
You must be signed in to change notification settings - Fork 810
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: arithmetic for new int types (#2843)
this commit generalizes codegen for arithmetic ops to handle any integer type. to do so, it refactors codegen for arithmetic ops into its own module. it also slightly changes the codegen so that it targets optimizer rules better. this commit also changes DecimalInfo.divisor to be of `int` type. this is slightly less convenient, but it's clearer when used that it is not getting truncated. also, fix a pytest-split setting. the (default) `duration_based_chunks` splitting algorithm in pytest-split resulted in a 0-size chunk getting allocated to the final group, which caused tox to error out with InvocationError code 5.
- Loading branch information
1 parent
a37bbbc
commit daeae11
Showing
18 changed files
with
1,069 additions
and
1,311 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
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
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.