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

Feature request: overloads of Min and Max for integers #20775

Closed
michaelsafyan opened this issue Jun 23, 2017 · 1 comment
Closed

Feature request: overloads of Min and Max for integers #20775

michaelsafyan opened this issue Jun 23, 2017 · 1 comment

Comments

@michaelsafyan
Copy link

michaelsafyan commented Jun 23, 2017

The functions math.Min and math.Max assume a floating point type; it should be possible to perform min/max operations on integer types (without conversion, truncation, etc.).

@bradfitz
Copy link
Contributor

Dup of #15292

@golang golang locked and limited conversation to collaborators Jun 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants