27 #define CPLX_UN TYComplex(1.0, 0.0)
28 #define CPLX_MUN TYComplex(-1.0, 0.0)
29 #define CPLX_J TYComplex(0.0, 1.0)
39 if (valeur.real() >= 100.0)
43 else if (valeur.real() <= -100.0)
56 return (std::cosh(valeurTravail) / std::sinh(valeurTravail));
78 #if TY_ARCH_TYPE == TY_ARCHITECTURE_64
88 std::ostringstream oss;
102 std::ostringstream oss;
106 #if TY_COMPILER == TY_COMPILER_MSVC
116 std::ostringstream oss;
131 std::ostringstream oss;
143 inline std::string
uintToStr(
unsigned long val)
145 std::ostringstream oss;
160 std::ostringstream oss;
175 std::ostringstream oss;
190 std::ostringstream oss;
207 std::ostringstream oss;
208 oss.precision(precision);
209 oss << std::fixed << val;
213 template <
class T>
inline T
fromString(
const std::string& str, std::ios_base& (*f)(std::ios_base&) = std::dec)
216 std::istringstream iss(str);
225 #define SAFE_DELETE(_p) \
235 #ifndef SAFE_DELETE_LIST
239 #define SAFE_DELETE_LIST(_p) \
std::string floatToStr(float val)
std::string uintToStr(unsigned int val)
std::complex< double > TYComplex
std::string doubleToStrPre(double val, int precision=2)
TYComplex cotanh(const TYComplex &valeur)
T fromString(const std::string &str, std::ios_base &(*f)(std::ios_base &)=std::dec)
std::string doubleToStr(double val)
std::string indentNbToStr(int indentNb)
std::string intToStr(int val)