Here you can find the source of floatToDoubleArray(float[] arr)
public static double[] floatToDoubleArray(float[] arr)
//package com.java2s; //License from project: Open Source License public class Main { public static double[] floatToDoubleArray(float[] arr) { double[] ret = new double[arr.length]; for (int i = 0; i < arr.length; i++) { ret[i] = new Float(arr[i]).doubleValue(); }// w w w . j a va 2 s. co m return ret; } }