-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcting an issue where prefixes weren't round-tripping correctly. (#…
…60) This was a persistent issue with the test suite, randomly failing a hypothesis example occasionally. I had some confusion in the string formatting for prefixed units, where the precedence would get out of whack. For example, when formatting `(Kilo*Meter)**2`, we'd format that as `Mm²` because a square kilometer is a million square meters; however the parsing would treat that as if it were a `(Mega*Meter)**2`. There were also a few more issues and a test flake in MathML formatting.
- Loading branch information
1 parent
11d5566
commit ac5afdd
Showing
3 changed files
with
119 additions
and
37 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