13 #include "tbci/basics.h"
15 #ifndef HAVE_NO_NEW_HEADERS_BUG
18 # include <exception.h>
67 ,
errtext(strdup(
"Error in TBCI Numerical Library"))
70 NumErr(
const char* txt,
const long idx = 0)
75 NumErr(
const std::string &str,
const long idx = 0)
85 virtual const char*
what()
const throw()
93 #define __TBCIERR_BUF_SZ 256
94 #ifdef HAVE_WEAK_ATTR // Try to have only once
102 static char*
ltoa(
const long l)
111 #ifdef HAVE_NOEXCEPT_FALSE
112 # define THROWEXCEPT noexcept(false)
exception base class for the TBCI NumLib
static volatile unsigned err_ptr
NAMESPACE_END NAMESPACE_TBCI unsigned int tbci_control WEAKA
NumErr(const char *txt, const long idx=0)
NumErr(const std::string &str, const long idx=0)
const char * errtext
Short error description in _what.
static char * ltoa(const long l)
long index
Index for out of bounds error.
virtual const char * what() const