-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suport for ISO 216 #28
Comments
Hi, thank you for your feedback. Was exactly is it that you are missing in ps-quantities (or Insect)? |
Some examples:
This were just a few examples off the top of my head. |
But all of this works after you define
I don't think I would like to add add |
Well, actually it is ^^ (At least as far as the meter is fundamental):
And the surface area of A0 is exactly 1 m^2. |
Unfortunately due to rounding errors you can't: |
Sorry for being nit-picky. I meant it's not a fundamental constant of nature like the speed of light or the mass of an electron. The fact that the area of A0 paper is (almost exactly) 1 m² is not a coincidence. It's because it has been designed this way. That doesn't make it anymore special or fundamental than if its value had been 0.743 m². |
Yes I know. That's what I'm saying. It's a derived unit like But I guess sharkdp/insect#124 is cool too. It would be really nice, however, if insect contained a default file with the most common units predefined (like e.g. https://en.wikipedia.org/wiki/GNU_Units) |
I'm sorry, but I disagree. I wouldn't consider "A4" to be a unit at all. The width, height and area of a A4 paper are physical quantities - but they are (typically) not used as units of measure.
I tend to agree, but it is still widely used in nuclear physics. You are right though, there are a lot of obscure units here in purescript-quantities.
Yes, that'd be great! If I ever redesign the whole project, it's definitely something I would do differently (use a database of units instead of hardcoded units). |
On the other hand, how many can there be? I would just add all of them (the 99% most important). |
https://en.wikipedia.org/wiki/ISO_216
Just lately I had to convert a few sizes for printing.
Would have been really handy 😁
The text was updated successfully, but these errors were encountered: