C++ TTmath: Power of?

247 Views Asked by At

How can I get the power of two ttmath::UInt's in C++? Math.pow works only on ints and the "^" operator isnt the power operator.

Anybody know this?

1

There are 1 best solutions below

0
Cory Kramer On

The class ttmath::Uint has a method Pow defined, so you can just say

a.Pow(b)