-
Notifications
You must be signed in to change notification settings - Fork 21
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
underflow / saturation of unsigned list not working #73
Comments
Hello @AndrzejKowalski9917 I tested your example in a fresh conda environment with python 3.7.6 (conda), fxpmath 0.4.8 (from anaconda) and I couldn't reproduce de error. What version of numpy are you using? |
Hi @francof2a , thank you for your answer. I tried now in Linux (Arch) with
and also were not able to reproduce the error. In Windows I also tried python 3.10.0, installed via the installer from python.org, fxpmath and numpy installed via pip (same versions as on Linux). Here the error occurs. |
Hello @francof2a, I just tried at work again (Windows 10) with a clean virtualenv (conda env does not work here for reasons unknown).
The error persists. So it seems to be an error specific to the Windows OS. EDIT: |
Description
When subtracting a larger unsigned number from a smaller one the result is correctly 0.0. If both values are part of a list, the result is wrong, if an underflow occurs (seems to be set to the upper limit, instead of the lower one).
Minimal example:
c.info(verbose=3)
delivers the following output:f.info(verbose=3)
this output:Version infos
The text was updated successfully, but these errors were encountered: