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
In vector widening floating-point arithmetic instructions, the number is first converted to a double width format. It seems that during the conversion to double-width, implementation does not handle subnormal numbers and special cases. This could potentially lead to unexpected results or errors in certain computations that involve these special cases. Therefore, it's important to ensure that the conversion process includes proper handling of subnormal numbers and special cases. Example:
If a number is zero in single-precision floating-point format, it should also be zero when converted to double-precision floating-point format but implementation changes the number zero.
The text was updated successfully, but these errors were encountered:
Shafi10x
changed the title
In vfwadd, subnormal numbers and zero are not handled
Issue in vector widening floating-point arithmetic instructions: subnormal numbers and special cases are not handled
Mar 31, 2023
Shafi10x
changed the title
Issue in vector widening floating-point arithmetic instructions: subnormal numbers and special cases are not handled
Issue in vector widening floating-point arithmetic instructions: subnormal and special cases are not handled
Mar 31, 2023
@mp-17 Welcome, I have resolved the issue and have also created a PR for it, which can be viewed at #222. I kindly request you to take a look at it as well. Thank you!
In vector widening floating-point arithmetic instructions, the number is first converted to a double width format. It seems that during the conversion to double-width, implementation does not handle subnormal numbers and special cases. This could potentially lead to unexpected results or errors in certain computations that involve these special cases. Therefore, it's important to ensure that the conversion process includes proper handling of subnormal numbers and special cases.
Example:
If a number is zero in single-precision floating-point format, it should also be zero when converted to double-precision floating-point format but implementation changes the number zero.
The text was updated successfully, but these errors were encountered: