1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #pragma once
- #include <Mathematics/Exp2Estimate.h>
- namespace WwiseGTE
- {
- template <typename Real>
- class ExpEstimate
- {
- public:
-
-
-
- template <int D>
- inline static Real Degree(Real x)
- {
- return Exp2Estimate<Real>::Degree<D>(x * (Real)GTE_C_INV_LN_2);
- }
-
-
-
-
-
- template <int D>
- inline static Real DegreeRR(Real x)
- {
- return Exp2Estimate<Real>::DegreeRR<D>(x * (Real)GTE_C_INV_LN_2);
- }
- };
- }
|