Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: generalize DivisionRing.toOfScientific (#9947)
If you can cast a rat to a type, then we probably want decimal notation to work there too. This has the benefit of making the instance computable even in cases where some parts of the division ring structure are not. It also means that this could apply to matrices of rational numbers, which are not a division ring, but could have a rat cast.
- Loading branch information