Simple Application Framework
1
|
Powers and basic functions related to exponentiation.
Namespaces | |
namespace | Saf |
Global library namespace. | |
namespace | Saf::Math |
Mathematical functions and structures. | |
namespace | Saf::Math::Calculus |
Calculus related functions and classes. | |
Functions | |
template<class T > | |
T | Saf::Math::Calculus::BinaryLogarithm (T val) |
Binary logarithm of a positive integer val . | |
template<class T > | |
T | Saf::Math::Calculus::NearestPowerOf2 (T val) |
Power of 2 nearest to the integer val . | |
template<class T > | |
T | Saf::Math::Calculus::RoundUpToPowerOf2 (T val) |
Get the nearest power of 2 greater than or equal to integer val . |
Powers and basic functions related to exponentiation.