RFR: 8297539: Consolidate the uses of the int<->float union conversion trick
John R Rose
jrose at openjdk.org
Thu Feb 2 22:40:13 UTC 2023
On Thu, 2 Feb 2023 22:22:45 GMT, Justin King <jcking 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.
-------------
PR: https://git.openjdk.org/jdk/pull/12384
More information about the hotspot-dev
mailing list