Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow explicit casts to any type. #91

Merged
merged 1 commit into from
Sep 7, 2023
Merged

Conversation

copybara-service[bot]
Copy link

Allow explicit casts to any type.

... as long as UnderlyingTy allows such a cast.

XLA has some generic code that casts between types
such as std::complex or absl::int128 which are not
marked as arithmetic types.

@copybara-service copybara-service bot force-pushed the test_563459153 branch 2 times, most recently from a9c93c0 to a6a5ff0 Compare September 7, 2023 17:51
... as long as `UnderlyingTy` allows such a cast.

XLA has some generic code that casts between types
such as `std::complex` or `absl::int128` which are not
marked as arithmetic types.

PiperOrigin-RevId: 563481854
@copybara-service copybara-service bot merged commit 2ca30a2 into main Sep 7, 2023
@copybara-service copybara-service bot deleted the test_563459153 branch September 7, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant