ENH: DCT functions should accept int types like FFT does

Convert int inputs to float