Actually, even better would be if this just took a single expression, which could be a rational number or a quadratic root, and then the function figures out what to do with it. Otherwise, if you already have some expression like `(1 + 2*sqrt(2))/4` you have to tear it apart to use this.