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

make big map ranges to ranges #8253

Merged
merged 1 commit into from
Sep 7, 2014
Merged

Conversation

rfourquet
Copy link
Member

This makes big more similar to other conversion functions (int, float, etc.), eg big(1:10) is now a UnitRange{BigInt} instead of an array.
There are many other small possible improvements (e.g. implement BigFloat(1:10)), but I guess that resolving issue #1470 first will help having more coherent conversion functions.

JeffBezanson added a commit that referenced this pull request Sep 7, 2014
make `big` map ranges to ranges
@JeffBezanson JeffBezanson merged commit f20ddba into JuliaLang:master Sep 7, 2014
@rfourquet rfourquet deleted the big-ranges branch September 8, 2014 05:34
@stevengj
Copy link
Member

Why was big(z::Complex) removed? This is a useful function, perfectly analogous to float(z::Complex).

I'm assuming it was an accident, and that I should go ahead and add it back?

stevengj added a commit to stevengj/julia that referenced this pull request May 29, 2015
stevengj added a commit to stevengj/julia that referenced this pull request May 29, 2015
@rfourquet rfourquet added the bignums BigInt and BigFloat label May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bignums BigInt and BigFloat
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants