Closed copybara-service[bot] closed 6 months ago
Fix casts from f8e5m2fnuz to half.
The current implementation doesn't handle this case correctly, because exponent_shift is negative here.
The test is broken because it just tests the cast via float against itself.
Fix casts from f8e5m2fnuz to half.
The current implementation doesn't handle this case correctly, because exponent_shift is negative here.
The test is broken because it just tests the cast via float against itself.