pass double to libsvm/liblinear