-
Notifications
You must be signed in to change notification settings - Fork 8
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
Comparing ℵ₀
and ∞
#41
Comments
Where do you get "strictly greater than"? |
It actually says "not strictly greater than" |
because Julia base defines min(x,y) = ifelse(y < x, y, x)
max(x,y) = ifelse(y < x, x, y) so if |
Not always: julia> min(1.0, 1)
1.0
julia> min(1, 1.0)
1.0 |
It's because of promotion min(x::Real, y::Real) = min(promote(x,y)...) # promotion.jl |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Does these mean
ℵ₀
is strictly greater than∞
while they are also equal? What is the purpose behind it?Infinities.jl/test/test_cardinality.jl
Line 22 in 0972ead
Infinities.jl/test/test_cardinality.jl
Line 43 in 0972ead
Infinities.jl/test/test_cardinality.jl
Lines 77 to 78 in 0972ead
https://github.com/JuliaLang/julia/blob/43d7f881f8e26eb4bb7ef3d6f84b378d28125325/base/promotion.jl#L532-L533
The text was updated successfully, but these errors were encountered: