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

added iszero #305

Merged
merged 1 commit into from
Jan 14, 2017
Merged

added iszero #305

merged 1 commit into from
Jan 14, 2017

Conversation

stevengj
Copy link
Member

@stevengj stevengj force-pushed the iszero branch 2 times, most recently from dd0c40d to 863f7f5 Compare January 14, 2017 13:49
@@ -1708,6 +1708,14 @@ if !isdefined(Base, :numerator)
export numerator, denominator
end

# julia #19950
if !isdefined(Base, :iszero)
iszero(x) = x == iszero(x)
Copy link
Contributor

Choose a reason for hiding this comment

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

this is a stack overflow isn't 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.

whoops, typo

@stevengj
Copy link
Member Author

Failures on nightlies seem to be due to unrelated problems with consume.

@stevengj stevengj merged commit ab497a3 into master Jan 14, 2017
@stevengj stevengj deleted the iszero branch January 14, 2017 19:46
dpsanders pushed a commit to dpsanders/Compat.jl that referenced this pull request Feb 1, 2017
martinholters added a commit that referenced this pull request Aug 31, 2018
martinholters added a commit that referenced this pull request Aug 31, 2018
stevengj pushed a commit that referenced this pull request Sep 5, 2018
* Remove `take!(::Task)` definition for Julia versions prior to 0.6

Was added in #307.

* Remove `redirect_std*(f, stream)` definitions for Julia prior to v0.6

Were added in #275.

* Remove at-__DIR__ macro definition for Julia versions prior to 0.6

Was added in #281.

* Remove `broadcast` definition for equal-length tuples

Was added in #324 and #328

* Remove definitions of `unsafe_get` and `isnull` fallsback

Were added in #287.

* Remove defintions of `xor` and `⊻`

Were added in #289.

* Definitions of `numerator` and `denominator`

Were added in #290.

* Remove defintion of `iszero`

Was added in #305.

* Remove definition of `>:`

Was added in #336

* Remove definition of `take!(::Base.AbstractIOBuffer)`

Was added in #290.

* Remove definiton of `.&` and `.|`

Were added in #306.

* Remove definition of `Compat.isapprox`

Was added in #309.
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