Type-punning via unions is undefined behavior in C++ Also take the liberty of cleaning these up a little bit by removing unnecessary else usages.
Type-punning via unions is undefined behavior in C++ Also take the liberty of cleaning these up a little bit by removing unnecessary else usages.