|
Not Enough Math
Lightweight zero-dependency C++ math library
|
Namespaces | |
| namespace | internal |
Enumerations | |
| enum class | Kind : unsigned char { RuntimeError = 0 , OutOfRange , DivisionByZero , InvalidArgument , ZeroVector } |
Functions | |
| void | report (nem_string msg, nem::error::Kind type=Kind::RuntimeError) |
| void | report_invalid (nem::error::Kind kind=Kind::RuntimeError, const char *const msg=nullptr) |
| template<typename T > | |
| T | invalid_result (nem::error::Kind kind=Kind::RuntimeError, const char *const msg=nullptr) |
|
strong |
|
inline |
|
inline |
|
inline |