< prev index next >
src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java
Print this page
rev 56969 : Javadoc corrections
@@ -509,11 +509,11 @@
* 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,double)
- * @see VectorSpecies#checkValue(VectorSpecies,double)
+ * @see VectorSpecies#checkValue(VectorSpecies,long)
*/
public static DoubleVector broadcast(VectorSpecies<Double> species, long e) {
DoubleSpecies vsp = (DoubleSpecies) species;
return vsp.broadcast(e);
}
@@ -1345,11 +1345,10 @@
public final DoubleVector div(double e) {
return lanewise(DIV, e);
}
/**
- /**
* {@inheritDoc} <!--workaround-->
* @see #div(double,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
@@ -1716,11 +1715,11 @@
* @return the mask result of testing lane-wise if this vector
* compares to the input, according to the selected
* comparison operator
* @see DoubleVector#compare(VectorOperators.Comparison,Vector)
* @see #eq(double)
- * @see #lessThan(double)
+ * @see #lt(double)
*/
public abstract
VectorMask<Double> compare(Comparison op, double e);
/*package-private*/
@@ -2551,11 +2550,12 @@
* @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
+ * for any lane {@code N} in the vector where
+ * the mask is set
*/
@ForceInline
public static
DoubleVector fromByteArray(VectorSpecies<Double> species,
byte[] a, int offset,
@@ -2787,11 +2787,11 @@
* @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*8 < 0}
- * or {@code offset+N**8 >= bb.limit()}
+ * or {@code offset+N*8 >= bb.limit()}
* for any lane {@code N} in the vector
*/
@ForceInline
public static
DoubleVector fromByteBuffer(VectorSpecies<Double> species,
@@ -2833,11 +2833,11 @@
* @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*8 < 0}
- * or {@code offset+N**8 >= bb.limit()}
+ * or {@code offset+N*8 >= bb.limit()}
* for any lane {@code N} in the vector
* where the mask is set
*/
@ForceInline
public static
< prev index next >