Library for big numbers from http://www.ttmath.org/
Dependents: PIDHeater82 Conceptcontroller_v_1_0 AlarmClockApp COG4050_adxl355_tilt ... more
ttmath.h File Reference
Mathematics functions. More...
Go to the source code of this file.
Namespaces | |
namespace | ttmath |
a namespace for the TTMath library | |
namespace | ttmath::auxiliaryfunctions |
Functions | |
template<class ValueType > | |
ValueType | SkipFraction (const ValueType &x) |
template<class ValueType > | |
ValueType | Round (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Ceil (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Floor (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Ln (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Log (const ValueType &x, const ValueType &base, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Exp (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
uint | PrepareSin (ValueType &x, bool &change_sign) |
template<class ValueType > | |
ValueType | Sin0pi05 (const ValueType &x) |
template<class ValueType > | |
ValueType | Sin (ValueType x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Cos (ValueType x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Tan (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Tg (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Cot (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Ctg (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ASin_0 (const ValueType &x) |
template<class ValueType > | |
ValueType | ASin_1 (const ValueType &x) |
template<class ValueType > | |
ValueType | ASin (ValueType x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ACos (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ATan0 (const ValueType &x) |
template<class ValueType > | |
ValueType | ATan01 (const ValueType &x) |
template<class ValueType > | |
ValueType | ATanGreaterThanPlusOne (const ValueType &x) |
template<class ValueType > | |
ValueType | ATan (ValueType x) |
template<class ValueType > | |
ValueType | ATg (const ValueType &x) |
template<class ValueType > | |
ValueType | ACot (const ValueType &x) |
template<class ValueType > | |
ValueType | ACtg (const ValueType &x) |
template<class ValueType > | |
ValueType | Sinh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Cosh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Tanh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Tgh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Coth (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Ctgh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ASinh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ACosh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ATanh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ATgh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ACoth (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | ACtgh (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | DegToRad (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | RadToDeg (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | DegToDeg (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | DegToRad (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | GradToRad (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | RadToGrad (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | DegToGrad (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | DegToGrad (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | GradToDeg (const ValueType &x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Sqrt (ValueType x, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Root (ValueType x, const ValueType &index, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Abs (const ValueType &x) |
template<class ValueType > | |
ValueType | Sgn (ValueType x) |
template<class ValueType > | |
ValueType | Mod (ValueType a, const ValueType &b, ErrorCode *err=0) |
template<class ValueType > | |
void | SetFactorialSequence (std::vector< ValueType > &fact, uint more=20) |
template<class ValueType > | |
ValueType | SetBernoulliNumbersSum (CGamma< ValueType > &cgamma, const ValueType &n_, uint m, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
bool | SetBernoulliNumbersMore (CGamma< ValueType > &cgamma, uint start, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
bool | SetBernoulliNumbers (CGamma< ValueType > &cgamma, uint more=20, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
ValueType | GammaFactorialHighSum (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | GammaFactorialHigh (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | GammaPlusHigh (ValueType n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | GammaPlusLowIntegerInt (uint n, CGamma< ValueType > &cgamma) |
template<class ValueType > | |
ValueType | GammaPlusLowInteger (const ValueType &n, CGamma< ValueType > &cgamma) |
template<class ValueType > | |
ValueType | GammaPlusLow (ValueType n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | GammaPlus (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | GammaMinus (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode &err, const volatile StopCalculating *stop) |
template<class ValueType > | |
ValueType | Gamma (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode *err=0, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
ValueType | Gamma (const ValueType &n, ErrorCode *err=0) |
template<class ValueType > | |
ValueType | Factorial2 (ValueType x, CGamma< ValueType > *cgamma=0, ErrorCode *err=0, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
ValueType | Factorial (const ValueType &x, CGamma< ValueType > &cgamma, ErrorCode *err=0, const volatile StopCalculating *stop=0) |
template<class ValueType > | |
ValueType | Factorial (const ValueType &x, ErrorCode *err=0) |
Detailed Description
Mathematics functions.
Definition in file ttmath.h.
Generated on Tue Jul 12 2022 14:03:18 by 1.7.2