-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix return type of LongBinaryOp<Power>
Summary: It will return a float when the exponent is negative. Caught when running tests with AutoJIT + type profiling. I don't see other instances of `Float | Long` types in HIR anywhere yet, but it appears to work fine. Reviewed By: mpage, swtaarrs Differential Revision: D50091025 fbshipit-source-id: 77ad3b50a48da9c28bf43f776a163c88e068d8f3
- Loading branch information
1 parent
769fcb5
commit a69bb4d
Showing
2 changed files
with
73 additions
and
0 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