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

Add implicit F8 conversions #176

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Add implicit F8 conversions #176

merged 1 commit into from
Aug 29, 2024

Conversation

copybara-service[bot]
Copy link

Add implicit F8 conversions

Adds implicit conversions between F8 types and float, half, and bfloat16. This allows using the std math functions for the F8 types as easy as if they were float or bfloat16. Note that bfloat16 already has an implicit conversion to float, so it already has good ergonomics.

Adds implicit conversions between F8 types and `float`, `half`, and `bfloat16`. This allows using the `std` math functions for the F8 types as easy as if they were `float` or `bfloat16`. Note that `bfloat16` already has an implicit conversion to `float`, so it already has good ergonomics.

PiperOrigin-RevId: 669054332
@copybara-service copybara-service bot merged commit 2265470 into main Aug 29, 2024
@copybara-service copybara-service bot deleted the test_663402572 branch August 29, 2024 21:01
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.

0 participants