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

float(::Type) and real(::Type) are not documented #19113

Closed
stevengj opened this issue Oct 26, 2016 · 3 comments
Closed

float(::Type) and real(::Type) are not documented #19113

stevengj opened this issue Oct 26, 2016 · 3 comments
Labels
domain:docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia

Comments

@stevengj
Copy link
Member

float(Int) == Float64 and real(Complex{Int}) == Int. This has worked since Julia 0.4, but doesn't seem to be documented.

@stevengj stevengj added domain:docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia labels Oct 26, 2016
@oxinabox
Copy link
Contributor

Related: #18596
Not the same, but related;
since the current docs for float are already wrong/unclear on what they do cover.

@ararslan
Copy link
Member

complex works similarly with similarly undocumented behavior:

julia> complex(Int)
Complex{Int64}

@Tetralux
Copy link
Contributor

Tetralux commented Nov 6, 2016

Fixed by #19166.

@tkelman tkelman closed this as completed Nov 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:docs This change adds or pertains to documentation good first issue Indicates a good issue for first-time contributors to Julia
Projects
None yet
Development

No branches or pull requests

5 participants