fixing float/double implicit size warnings