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

finally stop using min/max_value and the integer modules #1206

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Mar 4, 2020

rust-lang/rust#68952 landed, so we can finally do this :)

@RalfJung
Copy link
Member Author

RalfJung commented Mar 4, 2020

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 4, 2020

📌 Commit 148269d has been approved by RalfJung

@bors
Copy link
Collaborator

bors commented Mar 4, 2020

⌛ Testing commit 148269d with merge 6392516...

@oli-obk
Copy link
Contributor

oli-obk commented Mar 4, 2020

Heh, cool!

@bors
Copy link
Collaborator

bors commented Mar 4, 2020

☀️ Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 6392516 to master...

@bors bors merged commit 6392516 into rust-lang:master Mar 4, 2020
@RalfJung RalfJung deleted the int_asooc branch March 4, 2020 22:10
let exp = if exp > i16::MAX as i32 {
i16::MAX
} else if exp < i16::MIN as i32 {
i16::MIN
Copy link
Member

Choose a reason for hiding this comment

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

Hmm I wonder if we can also make similar changes to rustc_apfloat. Ugh the licensing mess there isn't sorted out yet, is it...?

Copy link
Member Author

Choose a reason for hiding this comment

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

I mean after the hard time you gave me for editing a comment in apfloat, I am not touching that code ever again if I can help it.^^

Copy link
Member

Choose a reason for hiding this comment

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

I am not going to touch it either until I hear back about the licensing, don't worry, this was more of a note to myself.

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.

4 participants