-
Notifications
You must be signed in to change notification settings - Fork 17
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
Problem with small values #136
Comments
The problem is related to the use of julia> rationalize(epsilon)
0//1 |
Ouch. Do you have a suggestion as to how to solve this? I do not want to go back to using a string representation for the conversion, since that is very slow. |
No suggestion yet... |
I mean something like
|
Using a small variation of your code, all but one test pass; the failing test is: |
I don't understand why that test would fail. |
Do you have a branch with this change? |
I've pushed it only until now, sorry; its called "Iss136". |
Nice catch. The problem is here:
Clearly the first is wrong. |
Not sure how to find a solution that works for 1/3 and for 1e-20, though. It's possible that for |
Not sure how to solve it. I'm still, playing, but I've been bouncing myself against a wall... One possibility is leave it as it is, with a note in the documentation and the docstrings. |
I didn't notice it before, but there are more failing tests... |
Pushed a new commit; not sure why, but locally few tests related to |
... but not what was problematic before. |
Fixed by #137 |
I just came across the following:
The problem seems to be in
convert
(after expanding the macro):The text was updated successfully, but these errors were encountered: