Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
promote(::MathConst, ::Rational) => Rational.
This gives the exact rational value of the float approximation, which is probably not the best possible rational approximaion of constants like pi or e, but this is a decent first cut.
- Loading branch information