Repository navigation
Math tools: a unit converter - #41
Open
simonebortolin wants to merge 5 commits into
Open
simonebortolin wants to merge 5 commits into
simonebortolin wants to merge 5 commits into
Conversation
The third page of the math tools: a value in a unit of length, area, volume, mass, time, speed, temperature (with an offset), energy, pressure, angle or data, in another unit and in all of them, written as UnicodeMath (six significant digits, scientific notation for very large and very small values) and drawn by a MathView. Tests: known conversions and their inverses, the formatting, the numbers typed, the symbols, and the page in the window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SyVio8afJsGwHW9i5v5HDs
|
Pre-release NuGet package of cb870f5. Updated on every push, deleted when this PR is closed. |
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack 4/4: editor fences fix → keypad → formulas → this.
The third page of the math tools. A value in a unit is converted to another unit of the same quantity, and shown in all of them. Quantities: length, area, volume, mass, time, speed, temperature, energy, pressure, angle and data.
Units): exact factors where they are defined (inch, pound, US gallon). Temperature uses an offset.MathView. Values have six significant digits, with scientific notation for very large and very small ones. The unit is quoted text after a space, which ends an exponent: otherwise the unit would go into10⁶.−, and exponents (1.5e3).Tests
MathTools/UnitsTests: known conversions and their inverses, the formatting, the numbers typed, every symbol parses, and the unit is not in the exponent.MathTools/MathToolsWindowTests.UnitsConvert: km→mi, swap, °F→°C, and a value that is not a number.Generated by Claude Code