-
Notifications
You must be signed in to change notification settings - Fork 33
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
Inconsistent floattype
result to float
#127
Comments
Good observation and question. Wth this package it's designed to convert to the smallest type that can store it exactly. For Base consistency is important, but so too is the goal of ensuring that images don't blow up to something much bigger than necessary. The right choice seems either (1) to change this package or (2) submit a PR to Base, tagged for Julia 2.0, that changes |
I imagine we could break float(Int) = Float64
floattype(Int) = float(Int)
floattype(:+, Int) = accumulatortype(:+, Int) But I'm not sure how broadly |
The fact that |
FixedPointNumbers.floattype
seems inconsistent toBase.float
Should we update accordingly?
The text was updated successfully, but these errors were encountered: