v.20.12Improvement

Allow reinterpretAs functions for integers and floats of the same size

Allow reinterpretAs* functions to work for integers and floats of the same size. Implements 16640. #16657 (flynn).
Enhanced reinterpretAs* functions to support conversion between integers and floats of the same size.

Why it matters

This feature addresses the limitation where reinterpretAs* functions could not be used to reinterpret data between integer and floating-point types of identical byte sizes. It allows users to efficiently reinterpret the bit patterns between these types without expensive casting or conversions, improving performance and flexibility in data processing.

How to use it

Simply use the existing reinterpretAs* functions with integer and floating-point arguments of the same size. For example, to reinterpret a 32-bit integer as a float, apply reinterpretAsFloat32. No additional configuration is required.