permits writing ints to long fields and floats to double fields