change of long to double