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

Introduce nthRoot #3494

Merged
merged 3 commits into from
May 22, 2024
Merged

Introduce nthRoot #3494

merged 3 commits into from
May 22, 2024

Conversation

henrikt-ma
Copy link
Collaborator

Closes #3359.

The proposal avoids negative roots, like nthRoot(0.0, -3) to avoid a special case when the first argument is zero.

Co-authored-by: Hans Olsson <HansOlsson@users.noreply.github.com>
@HansOlsson
Copy link
Collaborator

Tested for MSL: modelica/ModelicaStandardLibrary#4392

@HansOlsson HansOlsson self-requested a review April 19, 2024 11:31
Copy link
Collaborator

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok.

@HansOlsson
Copy link
Collaborator

@gkurzbach and @eshmoylova do you agree?

@HansOlsson HansOlsson self-requested a review April 30, 2024 12:40
Copy link
Collaborator

@HansOlsson HansOlsson left a 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>
@henrikt-ma henrikt-ma requested a review from HansOlsson May 6, 2024 06:45
Copy link
Collaborator

@HansOlsson HansOlsson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok

@HansOlsson HansOlsson added this to the 2024-3 milestone May 15, 2024
@HansOlsson
Copy link
Collaborator

Language group: Agreement

Copy link
Member

@eshmoylova eshmoylova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@HansOlsson HansOlsson merged commit 1b2d0b9 into modelica:master May 22, 2024
1 check passed
@henrikt-ma henrikt-ma deleted the nthroot branch May 23, 2024 06:08
@HansOlsson HansOlsson added the M37 For pull requests merged into Modelica 3.7 label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M37 For pull requests merged into Modelica 3.7
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Need built-in function for n'th root
3 participants