|
Not Enough Math
Lightweight zero-dependency C++ math library
|
Go to the source code of this file.
Namespaces | |
| namespace | nem |
| namespace | nem::error |
| namespace | nem::error::internal |
Macros | |
| #define | NEM_RUNTIME_ASSERT(condition, message) |
Enumerations | |
| enum class | nem::error::Kind : unsigned char { nem::error::RuntimeError = 0 , nem::error::OutOfRange , nem::error::DivisionByZero , nem::error::InvalidArgument , nem::error::ZeroVector } |
Functions | |
| template<nem::scalar_type T> | |
| T | nem::error::internal::invalid_result_base () |
| For non-scalar objects. | |
| void | nem::error::internal::push_log (nem_string msg) |
| void | nem::error::internal::push_log_prefix (nem_string prefix, nem_string msg) |
| void | nem::error::internal::force_log (nem_string msg, nem::error::Kind type=Kind::RuntimeError) |
| void | nem::error::report (nem_string msg, nem::error::Kind type=Kind::RuntimeError) |
| void | nem::error::report_invalid (nem::error::Kind kind=Kind::RuntimeError, const char *const msg=nullptr) |
| template<typename T > | |
| T | nem::error::invalid_result (nem::error::Kind kind=Kind::RuntimeError, const char *const msg=nullptr) |