[lworld+fp16] RFR: 8329817: Augment prototype Float16 class [v13]

Brian Goetz briangoetz at openjdk.org
Tue Jun 18 13:52:31 UTC 2024


On Mon, 17 Jun 2024 21:13:41 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> tl;dr for this stage of the work, I didn't want to disable the existing `sum` intrinsic, but I think an `add` method works better in a larger context where methods for subtraction, multiplication, and division are being added.

Good, that's what I was looking for.  One of the things we hope to gain consensus on in this experiment is conventions for naming and organizing operations on numerics.  There may be some inevitable duplication (because Number asks for a particular method name) but we need to establish the right conventions for going forward.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1117#issuecomment-2176156611


More information about the valhalla-dev mailing list