RFR: JDK-8289551: Conversions between bit representations of half precision values and floats [v6]

Joe Darcy darcy at openjdk.org
Mon Jul 25 20:11:06 UTC 2022


On Sat, 23 Jul 2022 16:38:34 GMT, Raffaello Giulietti <duke at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Implement review feedback.
>
> src/java.base/share/classes/java/lang/Float.java line 980:
> 
>> 978: 
>> 979:     /**
>> 980:      * {@return the {@code float} value closest to the numerical value
> 
> `{@return` seems to be out of place and missing a closing `}`

The closing brace is on line 982, "... {@code short}}"

(Using the in-line form of the @return tag allows an explicit @return tag to be skipped by reusing the initial sentence. The generated javadoc is as intended.)

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

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


More information about the core-libs-dev mailing list