Forum Discussion
Altera_Forum
Honored Contributor
11 years agomod(3) is division by 3 to get remainder and so requires more logic.
in the first case you are avoiding divisionmod(3) is division by 3 to get remainder and so requires more logic.
in the first case you are avoiding division