RubyArray arr = (RubyArray) arrParam;
int count = arr.getLength();
checkBounds(context, offset, count * 4);
float[] array = new float[count];
for (int i = 0; i < array.length; ++i) {
array[i] = Util.floatValue((IRubyObject) arr.entry(i));
}
getMemoryIO().put(getOffset(offset), array, 0, array.length);
return this;
}
@JRubyMethod(name = { "get_array_of_float64", "get_array_of_double" }, required = 2)