Forum Discussion
Altera_Forum
Honored Contributor
14 years agoyou can use the abs() function for that purpose. It should work on both integer and unsigned types.
you can use the abs() function for that purpose. It should work on both integer and unsigned types.