-
Notifications
You must be signed in to change notification settings - Fork 5
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
promotion #18
Comments
Just define promotion Base.promote_rule(::Type{Float8},::Type{Float16}) = Float16
Base.promote_rule(::Type{Float8},::Type{Float32}) = Float32
Base.promote_rule(::Type{Float8},::Type{Float64}) = Float64
Base.promote_rule(::Type{Float8},::Type{<:Integer}) = Float8 ? |
Merged
Merged
Released as v0.1.1 |
thanks so much! i was going to offer to submit a PR, but you beat me to it. |
I wrote this package years ago for a project but never used it since, glad that it's still useful! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
would be nice if this worked:
very useful package btw!
The text was updated successfully, but these errors were encountered: