RFR: 8351290: Clarify integral only for vector operators

Paul Sandoz psandoz at openjdk.org
Tue Mar 25 21:01:08 UTC 2025


On Tue, 25 Mar 2025 20:44:31 GMT, Ian Graves <igraves at openjdk.org> wrote:

> Updating Javadoc for vector operators with VO_NOFP flags, but no corresponding "Integral only." note in docs.

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/VectorOperators.java line 455:

> 453:     /** Produce {@code -a}. */
> 454:     public static final Unary NEG = unary("NEG", "-a", VectorSupport.VECTOR_OP_NEG, VO_ALL|VO_SPECIAL);
> 455:     /** Produce {@code bitCount(a)} Integral only.

Missing ".":
Suggestion:

    /** Produce {@code bitCount(a)}. Integral only.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24237#discussion_r2012931641


More information about the core-libs-dev mailing list