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

deprecate functions inf and nan #8776

Merged
merged 1 commit into from
Oct 23, 2014
Merged

deprecate functions inf and nan #8776

merged 1 commit into from
Oct 23, 2014

Conversation

JeffBezanson
Copy link
Sponsor Member

I think these functions are a bit silly. It is confusing to have both NaN and nan exported, and now that you can write T(Inf) it is not that useful to have inf(T).

@johnmyleswhite
Copy link
Member

+1

@StefanKarpinski
Copy link
Sponsor Member

Didn't you just deprecate oftype?

@StefanKarpinski
Copy link
Sponsor Member

Otherwise +1.

@JeffBezanson
Copy link
Sponsor Member Author

Nooo, I deprecated the form of oftype that's exactly equivalent to convert. Now oftype always means convert(typeof(x),y).

@StefanKarpinski
Copy link
Sponsor Member

Ah, I see. Carry on then.

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.

None yet

3 participants