On Fri, 20 Nov 2026 16:14:03 GMT, Raffaello Giulietti <[email protected]> 
wrote:

> While I understand the rationale of this proposal, I think it would be wiser 
> to wait until a general numeric conversion mechanism is discussed in the 
> context of Valhalla explorations related to Java numerics. Even with this 
> proposal in place, a `Float16`->`byte` conversion would still expose the same 
> sin as JLS 5.1.3 currently does for, say, `float`->`short`.

Thanks Raffaello, yes that's a very good point, I am glad you brought it up. I 
was thinking more about this today and wondering what we might do with say 
128-bit and 8-bit floating point conversions. So I agree it is best to do 
nothing right now, including any optimization work. It requires more broader 
thinking and exploration before we can make the best informed decision.

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

PR Comment: https://git.openjdk.org/jdk/pull/33980#issuecomment-7045115797

Reply via email to