Skip to content

Ensure all integer ops are in the Int32 range#1032

Merged
garyb merged 1 commit into
masterfrom
integer-clamping
Apr 6, 2015
Merged

Ensure all integer ops are in the Int32 range#1032
garyb merged 1 commit into
masterfrom
integer-clamping

Conversation

@garyb

@garyb garyb commented Apr 5, 2015

Copy link
Copy Markdown
Member

Also inlines mod now I've checked that (%) does actually give us the right behaviour for ints.

@paf31

paf31 commented Apr 5, 2015

Copy link
Copy Markdown
Contributor

Seems good to me. @michaelficarra, any comments?

@garyb

garyb commented Apr 5, 2015

Copy link
Copy Markdown
Member Author

Made the same change in purescript-integers here: purescript/purescript-integers@e0d7132 but will hold off releasing it as 0.1.0 until we hear from @michaelficarra.

@michaelficarra

Copy link
Copy Markdown
Contributor

Both LGTM.

@garyb

garyb commented Apr 6, 2015

Copy link
Copy Markdown
Member Author

Thanks!

garyb added a commit that referenced this pull request Apr 6, 2015
Ensure all integer ops are in the Int32 range
@garyb garyb merged commit 062b5a5 into master Apr 6, 2015
@garyb garyb deleted the integer-clamping branch April 6, 2015 10:57
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.

3 participants