.min for floating types is an error