[lworld+fp16] RFR: 8339252: Add method float16Value() to BigInteger and BigDecimal [v4]

Joe Darcy darcy at openjdk.org
Wed Sep 4 19:42:35 UTC 2024


On Wed, 4 Sep 2024 09:54:53 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> This patch adds `float16Value()` to `BigInteger` and `BigDecimal`, as well as `Float16.valueOf(BigDecimal)`.
>
> Raffaello Giulietti has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains five commits:
> 
>  - Merge branch 'lworld+fp16' into 8339252
>  - Clearer code for fullFloat16Value().
>  - More clarification in a comment.
>  - 8339252: Add method float16Value() to BigInteger and BigDecimal
>  - Added valueOf(BigDecimal).

src/java.base/share/classes/java/lang/Float16.java line 437:

> 435:     }
> 436: 
> 437:     //    /**

Please remove this comment block before pushing.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1228#discussion_r1744323071


More information about the valhalla-dev mailing list