You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the description for fxp types from the quickstart docs
The below patterns should not be possible.
Fxp(a, True, x, f>=x)
Fxp(a, False, x, f>x)
For example
from fxpmath import Fxp
num = Fxp(-3, True, 1, 10)
print(num.dtype) # 'fxp-s1/10'
print(num()) # -0.0009765625
print(num.val) # -1
There is no failure on construction, and the behaviour in this case is not documented.
I am unsure if this is a bug, or a conscious design choice. Please close this if it is the latter.
The text was updated successfully, but these errors were encountered:
Given the description for fxp types from the quickstart docs
The below patterns should not be possible.
For example
There is no failure on construction, and the behaviour in this case is not documented.
I am unsure if this is a bug, or a conscious design choice. Please close this if it is the latter.
The text was updated successfully, but these errors were encountered: