Java Utililty Methods Double Array to Long Array

List of utility methods to do Double Array to Long Array

Description

The list of methods to do Double Array to Long Array are organized into topic(s).

Method

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;
...