5 6 7
# File 'lib/argus/float_encoding.rb', line 5 def encode_float(float) [float].pack('g').unpack("l>").first end