conversion from short to double between 1 and -1