-
Notifications
You must be signed in to change notification settings - Fork 40
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
Introduce nthRoot #3494
Introduce nthRoot #3494
Conversation
Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
Tested for MSL: modelica/ModelicaStandardLibrary#4392 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok.
@gkurzbach and @eshmoylova do you agree? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove evaluable.
Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems ok
Language group: Agreement |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
Closes #3359.
The proposal avoids negative roots, like
nthRoot(0.0, -3)
to avoid a special case when the first argument is zero.