-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Overflow in conversion #430
Comments
Socob
added a commit
to Socob/Unitful.jl
that referenced
this issue
Oct 7, 2024
These were fixed by PainterQubits#648. Closes PainterQubits#430, closes PainterQubits#660
This was fixed in #648 (present in v1.16.1, but not anymore since v1.16.2). |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I saw several old issues regarding overflow exceptions, but looks like they are considered solved. However, I experience the following:
That is, conversion only works with an intermediate
upreferred
. I couldn't find a similar example with defaultUnitful
units without other packages, but it should be possible.Is there a way to force floating-point conversion instead of exact ones?
Stacktrace points to this line: https://github.com/PainterQubits/Unitful.jl/blob/master/src/conversion.jl#L22, which even mentions overflow checking :) But it's not really clear how to fix the error.
Full error:
The text was updated successfully, but these errors were encountered: