jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Classes | Namespaces | Enumerations | Functions
math_error.hpp File Reference
#include <stdexcept>
#include <jau/int_math.hpp>
#include <jau/basic_types.hpp>
Include dependency graph for math_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  jau::math::MathDivByZeroError
 math_error_t::div_by_zero, i.e. More...
 
class  jau::math::MathDomainError
 math_error_t::invalid More...
 
class  jau::math::MathError
 
class  jau::math::MathInexactError
 math_error_t::inexact More...
 
class  jau::math::MathOverflowError
 math_error_t::overflow More...
 
class  jau::math::MathUnderflowError
 math_error_t::underflow More...
 

Namespaces

namespace  jau
 __pack(...): Produces MSVC, clang and gcc compatible lead-in and -out macros.
 
namespace  jau::math
 

Enumerations

enum class  jau::math::math_error_t {
  jau::math::math_error_t::invalid , jau::math::math_error_t::div_by_zero , jau::math::math_error_t::overflow , jau::math::math_error_t::underflow ,
  jau::math::math_error_t::inexact
}
 Error types as specified by C++ Math Error Handling More...
 

Functions

std::string jau::math::to_string (const math_error_t v) noexcept
 Returns std::string representation of math_error_t. More...