Alexander Grund 929bc0e191 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


(cherry picked from commit b5eaa4269503f77d0aa58d2f8ed9419e1ba7784d)
2021-09-20 14:25:58 +00:00
..
2021-09-20 14:25:58 +00:00
2016-01-27 22:48:40 +01:00
2017-11-10 14:11:22 +01:00
2017-11-27 22:11:57 +01:00
2016-01-27 22:48:40 +01:00
2016-01-27 22:48:40 +01:00