test encoding/decoding of big and small floats