Niels Dekker b11f817bcf Avoid undefined behavior by union type punning in float_to_bfloat16_rtne
Use `numext::as_uint`, instead of union based type punning, to avoid undefined behavior.
See also C++ Core Guidelines: "Don't use a union for type punning"
https://github.com/isocpp/CppCoreGuidelines/blob/v0.8/CppCoreGuidelines.md#c183-dont-use-a-union-for-type-punning

`numext::as_uint` was suggested by David Tellenbach
2020-07-14 19:55:20 +02:00
..
2016-01-27 22:48:40 +01:00
2020-06-20 19:16:24 +00:00
2017-11-10 14:11:22 +01:00
LU
2017-08-17 21:58:39 +02:00
2017-11-27 22:11:57 +01:00
2016-01-27 22:48:40 +01:00
SVD
2017-08-17 21:58:39 +02:00
2016-01-27 22:48:40 +01:00