< prev index next >
src/java.base/share/classes/java/lang/Math.java
Print this page
@@ -1077,10 +1077,11 @@
* Returns the exact mathematical product of the arguments.
*
* @param x the first value
* @param y the second value
* @return the result
+ * @since 9
*/
public static long multiplyFull(int x, int y) {
return (long)x * (long)y;
}
@@ -1089,10 +1090,11 @@
* product of two 64-bit factors.
*
* @param x the first value
* @param y the second value
* @return the result
+ * @since 9
*/
public static long multiplyHigh(long x, long y) {
if (x < 0 || y < 0) {
// Use technique from section 8-2 of Henry S. Warren, Jr.,
// Hacker's Delight (2nd ed.) (Addison Wesley, 2013), 173-174.
< prev index next >