Don't raise DZ when left is inf
This commit is contained in:
Submodule libs/symfpu updated: 1452b0b39c...f5eccd0932
@@ -228,9 +228,8 @@ module edges();
|
||||
|
||||
`ifdef DIV
|
||||
assume (c_zero);
|
||||
// a = finite, b = 0
|
||||
if ((a_norm || a_subnorm) && b_unsigned == '0)
|
||||
assert (DZ);
|
||||
// div/zero when a = finite, b = 0
|
||||
assert (!DZ || ((a_norm || a_subnorm) && b_unsigned == '0));
|
||||
// 0/0 or inf/inf
|
||||
if ((a_zero && b_zero) || (a_inf && b_inf))
|
||||
assert (NV);
|
||||
|
||||
Reference in New Issue
Block a user