Eliminate type-punning UB in Eigen::half.

Use proper bit-cast approach. Fixes #2898 (closed).

Merge request reports

Loading