public static long[] doubleToLongArray(final double[] array) {
		return doubleToLongArray(array, d -> (long)d);
	}
Converts the given {@code long[]} {@code array} to a {@code double[]} array.
The {@code long[]} is filled with the {@code double} values cast to
{@code long} values.

@param array the array to convert
@return the converted array
jenetics/src/main/java/io/jenetics/util/Conversions.java