Remove fmt - Part 2: Remove {R} Files A-D#11588
Draft
mitchute wants to merge 2 commits into
Draft
Conversation
|
|
rraustad
reviewed
May 12, 2026
|
|
||
| static constexpr std::string_view Format_901( | ||
| "Surface Convection Parameters,{},{},{:.2R},{:.2R},{:.2R},{},{:.2R},{:.2R},{:.2R},{:.2R},{},{},{}\n"); | ||
| "Surface Convection Parameters,{},{},{:.2f},{:.2f},{:.2f},{},{:.2f},{:.2f},{:.2f},{:.3G},{},{},{}\n"); |
Collaborator
rraustad
reviewed
May 12, 2026
| static constexpr std::string_view Format_990( | ||
| "! <Component Sizing Information>, Component Type, Component Name, Input Field Description, Value\n"); | ||
| static constexpr std::string_view Format_991(" Component Sizing Information, {}, {}, {}, {:.5R}\n"); | ||
| static constexpr std::string_view Format_991(" Component Sizing Information, {}, {}, {}, {:.5f}\n"); |
Collaborator
shorowit
reviewed
May 12, 2026
| std::string(" Component Sizing Information, Coil:Heating:Water, MyWaterCoil, Design Size Maximum Water Flow Rate [m3/s], 1.21516E-004\n" | ||
| " Component Sizing Information, Coil:Heating:Water, MyWaterCoil, User-Specified Maximum Water Flow Rate [m3/s], 2.00000E-004\n"); | ||
| std::string(" Component Sizing Information, Coil:Heating:Water, MyWaterCoil, Design Size Maximum Water Flow Rate [m3/s], 0.00012\n" | ||
| " Component Sizing Information, Coil:Heating:Water, MyWaterCoil, User-Specified Maximum Water Flow Rate [m3/s], 0.00020\n"); |
Contributor
There was a problem hiding this comment.
I assume these are changes from scientific notation to fixed precision? Hopefully this won't cause small buildings (e.g., residential homes) dropping off the low end and simply reporting something like 0.00000, we've had issues like that in the past. (My comment is not specific to this object/output, it's more general.)
|
|
Collaborator
That's interesting. The smaller the number the more decimal resolution. I guess a large number would look like xxxxxxx000? I guess this is fine and could be changed later if desired. |
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.

Pull request overview
Continues the process of removing third-party/fmt library in lieu of std::format for files A-D.
Description of the purpose of this PR
Pull Request Author
Reviewer