Skip to content
Snippets Groups Projects
Unverified Commit b5eaa426 authored by Alexander Grund's avatar Alexander Grund
Browse files

Fix alias violation in BFloat16

reinterpret_cast between unrelated types is undefined behavior and leads
to misoptimizations on some platforms.
Use the safer (and faster) version via bit_cast
parent 4d622be1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment