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.
Add implicit F8 conversions
Adds implicit conversions between F8 types and
float
,half
, andbfloat16
. This allows using thestd
math functions for the F8 types as easy as if they werefloat
orbfloat16
. Note thatbfloat16
already has an implicit conversion tofloat
, so it already has good ergonomics.