RFR: 8297539: Consolidate the uses of the int<->float union conversion trick [v2]

Afshin Zafari duke at openjdk.org
Mon Feb 6 10:35:51 UTC 2023


On Thu, 2 Feb 2023 22:37:29 GMT, John R Rose <jrose at openjdk.org> wrote:

> > bit_cast is the chosen term for C++ starting in C++20, which reinterprets
> 
> Good. I would be very content with bit_cast, or some use of the older word "reinterpret". The problem with plain "cast" is the overloading of meanings. (And then there's the extra push in the wrong direction from the name "PrimitiveConversions".) We are not just C++ programmers here; many of us are Java programmers as well.

I need this conversation completes to apply the required changes.

-------------

PR: https://git.openjdk.org/jdk/pull/12384


More information about the hotspot-dev mailing list