Commit Graph

1 Commits (eb975f248806a023471524b5a461a1d95a9fba41)

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