redshift: Use double for interpolation function