Returns a rational form of the argument, or a rational form of the argument with PI factored out, whichever yields the smaller denominator.
| Level 1 | -> | Level 1 |
|---|---|---|
| x | -> | 'a/b*PI' |
| x | -> | 'a/b' |
| 'symb1' | -> | 'symb2' |
| (x, y) | -> | 'a/b*PI+c/d*PI*i |
| (x, y) | -> | 'a/b+c/d*i |