logoalt Hacker News

lg5689today at 3:45 AM0 repliesview on HN

You can't do this for general functions, but it's fine to do in cases where the definition of f naturally embeds into the rationals. For example, a polynomial over Z is also a polynomial over Q or C.