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

Add math.min and math.max #437

Merged
merged 1 commit into from
Jun 29, 2024
Merged

Conversation

s-hadinger
Copy link
Contributor

Add math.min() and math.max(), follow-up of #431

Both functions can take any number of arguments, but accept only int and real. If one of the arguments is real, then all arguments are converted to real and the result is real; otherwise the result is int

@s-hadinger s-hadinger merged commit 494397b into berry-lang:master Jun 29, 2024
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 this pull request may close these issues.

2 participants