ensure everything is double precision