float[] numbers={-322649.25f, 100.7531f, 0f, 1f, 2.75f, 3.1425f, 322649f, 322649.75f};
for(float i: numbers)
out.writeFloat(i);
ByteArrayDataInputStream in=new ByteArrayDataInputStream(out.buffer());
for(float i: numbers) {
float num=in.readFloat();
assert num == i;
}
}
public void testDouble() throws IOException {