Theoretica
Mathematical Library
|
Error handling. More...
Go to the source code of this file.
Namespaces | |
namespace | theoretica |
Main namespace of the library which contains all functions and objects. | |
Enumerations | |
enum | theoretica::MATH_ERRCODE |
Math error enumeration. | |
Functions | |
int | theoretica::th_errcode_to_errno (MATH_ERRCODE err) |
Convert a MATH_ERRCODE to errno error codes. | |
TH_CONSTEXPR real | theoretica::nan () |
Return a quiet NaN number in floating point representation. | |
template<typename T > | |
bool | theoretica::is_nan (const T &x) |
Check whether a generic variable is (equivalent to) a NaN number. | |
TH_CONSTEXPR real | theoretica::inf () |
Get positive infinity in floating point representation. | |
bool | theoretica::is_inf (real x) |
Check whether a real number is infinite. | |
Error handling.