Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:int_asooc
Mar 4, 2020
Merged

finally stop using min/max_value and the integer modules#1206
bors merged 1 commit into
rust-lang:masterfrom
RalfJung:int_asooc

Conversation

@RalfJung

@RalfJung RalfJung commented Mar 4, 2020

Copy link
Copy Markdown
Member

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

@RalfJung

RalfJung commented Mar 4, 2020

Copy link
Copy Markdown
Member Author

@bors r+

@bors

bors commented Mar 4, 2020

Copy link
Copy Markdown
Contributor

📌 Commit 148269d has been approved by RalfJung

@bors

bors commented Mar 4, 2020

Copy link
Copy Markdown
Contributor

⌛ Testing commit 148269d with merge 6392516...

@oli-obk

oli-obk commented Mar 4, 2020

Copy link
Copy Markdown
Contributor

Heh, cool!

@bors

bors commented Mar 4, 2020

Copy link
Copy Markdown
Contributor

☀️ 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
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
Contributor

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