def pack_number_doper(operator, number)   #:nodoc:
    number = [number].pack('d')
    number.reverse! if @byte_order

    [0x04, operator].pack('CC') + number
  end
def pack_number_doper(operator, number)   #:nodoc:
    number = [number].pack('d')
    number.reverse! if @byte_order

    [0x04, operator].pack('CC') + number
  end
Pack an IEEE double number Doper structure.