Commit Graph

1 Commits (f00526cfe42c8854c7b32db0bc0981eb102eb7db)

Author SHA1 Message Date
Sébastien Villemot 5fcf563c61
Dynare++: factorize and optimize code for integer exponentiation
There were two implementations of integer exponentiation. Merge them into a new
file under utils/cc/.

By the way, optimize it using exponentiation by squaring.
2019-02-19 15:50:07 +01:00