< prev index next >
src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java
Print this page
rev 56969 : Javadoc corrections
*** 509,519 ****
* the primitive value {@code e}
* @throws IllegalArgumentException
* if the given {@code long} value cannot
* be represented by the vector's {@code ETYPE}
* @see #broadcast(VectorSpecies,float)
! * @see VectorSpecies#checkValue(VectorSpecies,float)
*/
public static FloatVector broadcast(VectorSpecies<Float> species, long e) {
FloatSpecies vsp = (FloatSpecies) species;
return vsp.broadcast(e);
}
--- 509,519 ----
* the primitive value {@code e}
* @throws IllegalArgumentException
* if the given {@code long} value cannot
* be represented by the vector's {@code ETYPE}
* @see #broadcast(VectorSpecies,float)
! * @see VectorSpecies#checkValue(VectorSpecies,long)
*/
public static FloatVector broadcast(VectorSpecies<Float> species, long e) {
FloatSpecies vsp = (FloatSpecies) species;
return vsp.broadcast(e);
}
*** 1345,1355 ****
public final FloatVector div(float e) {
return lanewise(DIV, e);
}
/**
- /**
* {@inheritDoc} <!--workaround-->
* @see #div(float,VectorMask)
* <p> Because the underlying scalar operator is an IEEE
* floating point number, division by zero in fact will
* not throw an exception, but will yield a signed
--- 1345,1354 ----
*** 1716,1726 ****
* @return the mask result of testing lane-wise if this vector
* compares to the input, according to the selected
* comparison operator
* @see FloatVector#compare(VectorOperators.Comparison,Vector)
* @see #eq(float)
! * @see #lessThan(float)
*/
public abstract
VectorMask<Float> compare(Comparison op, float e);
/*package-private*/
--- 1715,1725 ----
* @return the mask result of testing lane-wise if this vector
* compares to the input, according to the selected
* comparison operator
* @see FloatVector#compare(VectorOperators.Comparison,Vector)
* @see #eq(float)
! * @see #lt(float)
*/
public abstract
VectorMask<Float> compare(Comparison op, float e);
/*package-private*/
*** 2555,2565 ****
* @param m the mask controlling lane selection
* @return a vector loaded from a byte array
* @throws IndexOutOfBoundsException
* if {@code offset+N*ESIZE < 0}
* or {@code offset+(N+1)*ESIZE > a.length}
! * for any lane {@code N} in the vector
*/
@ForceInline
public static
FloatVector fromByteArray(VectorSpecies<Float> species,
byte[] a, int offset,
--- 2554,2565 ----
* @param m the mask controlling lane selection
* @return a vector loaded from a byte array
* @throws IndexOutOfBoundsException
* if {@code offset+N*ESIZE < 0}
* or {@code offset+(N+1)*ESIZE > a.length}
! * for any lane {@code N} in the vector where
! * the mask is set
*/
@ForceInline
public static
FloatVector fromByteArray(VectorSpecies<Float> species,
byte[] a, int offset,
*** 2788,2798 ****
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
! * or {@code offset+N**4 >= bb.limit()}
* for any lane {@code N} in the vector
*/
@ForceInline
public static
FloatVector fromByteBuffer(VectorSpecies<Float> species,
--- 2788,2798 ----
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
! * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
*/
@ForceInline
public static
FloatVector fromByteBuffer(VectorSpecies<Float> species,
*** 2834,2844 ****
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
! * or {@code offset+N**4 >= bb.limit()}
* for any lane {@code N} in the vector
* where the mask is set
*/
@ForceInline
public static
--- 2834,2844 ----
* @return a vector loaded from a byte buffer
* @throws IllegalArgumentException if byte order of bb
* is not {@link ByteOrder#LITTLE_ENDIAN}
* @throws IndexOutOfBoundsException
* if {@code offset+N*4 < 0}
! * or {@code offset+N*4 >= bb.limit()}
* for any lane {@code N} in the vector
* where the mask is set
*/
@ForceInline
public static
< prev index next >