class Test {
    static void test5(int[] a, float[] b) {
        for (int i = 0; i < a.length; i++) {
            a[i] = Float.floatToIntBits(b[i]);
        }
    }

    static void test6(int[] a, float[] b) {
        for (int i = 0; i < a.length; i++) {
            a[i] = Float.floatToRawIntBits(b[i]);
        }
    }

    static void test7(int[] a, float[] b) {
        for (int i = 0; i < a.length; i++) {
            b[i] = Float.intBitsToFloat(a[i]);
        }
    }

    static void test8(long[] a, double[] b) {
        for (int i = 0; i < a.length; i++) {
            a[i] = Double.doubleToLongBits(b[i]);
        }
    }

    static void test9(long[] a, double[] b) {
        for (int i = 0; i < a.length; i++) {
            a[i] = Double.doubleToRawLongBits(b[i]);
        }
    }

    static void test0(long[] a, double[] b) {
        for (int i = 0; i < a.length; i++) {
            b[i] = Double.longBitsToDouble(a[i]);
        }
    }

    public static void main(String[] args) {
        int[] a = new int[10_000];
        float[] b = new float[10_000];
        long[] aL = new long[10_000];
        double[] bD = new double[10_000];
        for (int i = 0; i < 1000; i++) {
            test5(a, b);
            test6(a, b);
            test7(a, b);
            test8(aL, bD);
            test9(aL, bD);
            test0(aL, bD);
	}
    }
}
