TTMath  0.9.4
 C++ bignum library
Namespaces | Functions
ttmath.h File Reference

Mathematics functions. More...

#include "ttmathbig.h"
#include "ttmathobjects.h"
#include "ttmathparser.h"
Include dependency graph for ttmath.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 ttmath
 a namespace for the TTMath library
 

Functions

template<class ValueType >
ValueType ttmath::SkipFraction (const ValueType &x)
 
template<class ValueType >
ValueType ttmath::Round (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Ceil (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Floor (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Ln (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Log (const ValueType &x, const ValueType &base, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Exp (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Sin (ValueType x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Cos (ValueType x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Tan (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Tg (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Cot (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Ctg (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ASin (ValueType x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ACos (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ATan (ValueType x)
 
template<class ValueType >
ValueType ttmath::ATg (const ValueType &x)
 
template<class ValueType >
ValueType ttmath::ACot (const ValueType &x)
 
template<class ValueType >
ValueType ttmath::ACtg (const ValueType &x)
 
template<class ValueType >
ValueType ttmath::Sinh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Cosh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Tanh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Tgh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Coth (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Ctgh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ASinh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ACosh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ATanh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ATgh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ACoth (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::ACtgh (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::DegToRad (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::RadToDeg (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::DegToDeg (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::DegToRad (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::GradToRad (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::RadToGrad (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::DegToGrad (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::DegToGrad (const ValueType &d, const ValueType &m, const ValueType &s, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::GradToDeg (const ValueType &x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Sqrt (ValueType x, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Root (ValueType x, const ValueType &index, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Abs (const ValueType &x)
 
template<class ValueType >
ValueType ttmath::Sgn (ValueType x)
 
template<class ValueType >
ValueType ttmath::Mod (ValueType a, const ValueType &b, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Gamma (const ValueType &n, CGamma< ValueType > &cgamma, ErrorCode *err=0, const volatile StopCalculating *stop=0)
 
template<class ValueType >
ValueType ttmath::Gamma (const ValueType &n, ErrorCode *err=0)
 
template<class ValueType >
ValueType ttmath::Factorial (const ValueType &x, CGamma< ValueType > &cgamma, ErrorCode *err=0, const volatile StopCalculating *stop=0)
 
template<class ValueType >
ValueType ttmath::Factorial (const ValueType &x, ErrorCode *err=0)
 

Detailed Description

Mathematics functions.

Definition in file ttmath.h.