Plus42 Equations, Preview Release
|
12-09-2021, 05:43 PM
Post: #110
|
|||
|
|||
RE: Plus42 Equations, Preview Release
(12-09-2021 08:56 AM)Werner Wrote: I found this: I think that article is just stating that every unit can be expressed as the product of integral powers of those seven base units; I'm not sure they mean to imply that those seven units should necessarily be written in that order. And even if they do, I'm inclined to ignore it, because it clearly violates established usage, as in kg usually coming before m, and it doesn't even help when it comes to compounds containing derived units, like N*m. My current code sorts according to whatever order is used by std::map<string, int>, which I'm guessing just sorts by character code. This actually works rather well, since it sorts uppercase characters before lowercase ones, and that's exactly right in many cases. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)