Here you can find the source of multiplyX(long[] x, long[] z)
public static void multiplyX(long[] x, long[] z)
//package com.java2s; public class Main { public static void multiplyX(long[] x, long[] z) { long x0 = x[0], x1 = x[1]; long m = x1 >> 63; z[0] = (x0 << 1) ^ (m & 0x87L); z[1] = (x1 << 1) | (x0 >>> 63); }//from w w w. j av a 2 s. c o m }