base: Add const to intmath and be more flexible with typing
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 26 Aug 2014 14:14:32 +0000 (10:14 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 26 Aug 2014 14:14:32 +0000 (10:14 -0400)
commit6fa8015b7fd50e75e97a175a511958b652eca11e
tree0b566b68cf77dab4cc1ce45ea2fec9958e0c3e16
parent2e17d83629c45e3f9a7321bfd93a79f6c2b55f63
base: Add const to intmath and be more flexible with typing

This patch ensures the functions can be used on const variables.
src/base/intmath.hh