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
The components of a FixedPoint should be independently accessible (sign, m, and n). A good way to do this is by making it a LogicStructure, like FloatingPoint is.
Also, we should probably change variable names m and n so that it is clear they represent the widths, so that m and n can be left to represent the components.
Desired solution
Convert FixedPoint into a LogicStructure
Make existing m and n into mWidth and nWidth.
Make m and n and sign now point to elements of the structure
Alternatives considered
No response
Additional details
No response
The text was updated successfully, but these errors were encountered:
Motivation
The components of a
FixedPoint
should be independently accessible (sign, m, and n). A good way to do this is by making it aLogicStructure
, likeFloatingPoint
is.Also, we should probably change variable names
m
andn
so that it is clear they represent the widths, so thatm
andn
can be left to represent the components.Desired solution
FixedPoint
into aLogicStructure
m
andn
intomWidth
andnWidth
.m
andn
andsign
now point to elements of the structureAlternatives considered
No response
Additional details
No response
The text was updated successfully, but these errors were encountered: