Definition of pow_number function.
More...
#include <cmath>
#include "func_sketch/common_types.h"
Go to the source code of this file.
Definition of pow_number function.
Definition in file pow_number.h.
◆ pow_number() [1/4]
template<typename Base, typename Exponent>
| auto func_sketch::math::pow_number |
( |
Base | base, |
|
|
Exponent | exponent ) |
|
inlinenodiscard |
Compute power for number types in this library.
- Template Parameters
-
| Base | Type of base. |
| Exponent | Type of exponent. |
- Parameters
-
| [in] | base | Base. |
| [in] | exponent | Exponent. |
- Returns
- Result.
Definition at line 38 of file pow_number.h.
◆ pow_number() [2/4]
template<typename Exponent>
| auto func_sketch::math::pow_number |
( |
Integer | base, |
|
|
Exponent | exponent ) |
|
inlinenodiscard |
Compute power for number types in this library.
- Template Parameters
-
| Exponent | Type of exponent. |
- Parameters
-
| [in] | base | Base. |
| [in] | exponent | Exponent. |
- Returns
- Result.
Definition at line 51 of file pow_number.h.
◆ pow_number() [3/4]
template<typename Base>
| auto func_sketch::math::pow_number |
( |
Base | base, |
|
|
Integer | exponent ) |
|
inlinenodiscard |
Compute power for number types in this library.
- Template Parameters
-
- Parameters
-
| [in] | base | Base. |
| [in] | exponent | Exponent. |
- Returns
- Result.
Definition at line 64 of file pow_number.h.
◆ pow_number() [4/4]
Compute power for number types in this library.
- Parameters
-
| [in] | base | Base. |
| [in] | exponent | Exponent. |
- Returns
- Result.
Definition at line 75 of file pow_number.h.