Forum Discussion
Altera_Forum
Honored Contributor
15 years agoI didn't calculate the expectable Xp result, but I think, it can't be -138272. In the expression Xc1 := (d4 - d2), d4 and d2 are both of the natural type, so (d4-d2) causes an overflow but doesn't have a negative result.