smack icon indicating copy to clipboard operation
smack copied to clipboard

copysign is not modeled

Open keram88 opened this issue 6 years ago • 0 comments

We do not currently handle the copysign family of functions. This is due to a limitation of SMT-LIB where NaN has a singular representation, whereas C allows numerous representations for NaN including both signed and unsigned.

For example, copysign(1.0, NAN) could yield -1.0 or 1.0, but with a unique value for NaN, it is impossible to distinguish between these cases.

keram88 avatar Jul 29 '19 05:07 keram88