-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fmt: migrate other fractional printing to FractionalFormatter
This migrates everything else over. This also explains why we were able to previously get away with hacking the DecimalFormatter to emit fractions: every other use of FractionalFormatter doesn't care about setting a fixed precision. Although we may want to expose an option to do so in the future, and it should be easy to do now! This also lets us slightly simplify DecimalFormatter, as it no longer needs to care about precision goop.
- Loading branch information
1 parent
185c531
commit 38bc73a
Showing
3 changed files
with
11 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters