Skip to content
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 .exp() for Ratio #290

Closed
jacg opened this issue Mar 23, 2022 · 3 comments · Fixed by #291
Closed

Suport .exp() for Ratio #290

jacg opened this issue Mar 23, 2022 · 3 comments · Fixed by #291

Comments

@jacg
Copy link
Contributor

jacg commented Mar 23, 2022

Is there any reason not to support .exp() for Ratio?

If not, I'd be happy to submit a PR.

@iliekturtles
Copy link
Owner

See #11. Looks like I punted on implementing exp way back when. A PR to add exp for Ratio would be welcome. Check out some of the inverse trig functions like acos for similar Ratio-only functions. I believe exp will also be std only.

@jacg
Copy link
Contributor Author

jacg commented Mar 23, 2022

Presumably exp2, ln, log etc. are missing for the same reason, and could be added in the same PR?

jacg added a commit to jacg/uom that referenced this issue Mar 23, 2022
@iliekturtles
Copy link
Owner

iliekturtles commented Mar 24, 2022

Presumably exp2, ln, log etc. are missing for the same reason, and could be added in the same PR?

Yep. Go ahead and add to the PR if that works for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants