Here you can find the source of floatToDouble(float[] values)
public static double[] floatToDouble(float[] values)
//package com.java2s; public class Main { public static double[] floatToDouble(float[] values) { if (values == null) { return null; }/*from w ww . j a v a2s . c om*/ double[] results = new double[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; } return results; } }