Simple function domain/range conversion