List of utility methods to do Double Array to Long Array
long[] | doublesToLongs(final double[] array) convert an array of double values to an array of long . final long[] res; int i; res = new long[array.length]; i = 0; for (final double x : array) { res[i++] = ((long) x); return res; ... |