|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
#include <universal/utility/exceptions_check.hpp>#include <universal/utility/architecture.hpp>#include <universal/utility/bit_cast.hpp>#include <universal/utility/directives.hpp>#include <universal/internal/blockbinary/blockbinary.hpp>#include <universal/internal/blocktriple/blocktriple.hpp>#include <universal/traits/quire_traits.hpp>#include <universal/number/quire/exceptions.hpp>#include <universal/number/quire/quire_fwd.hpp>#include <universal/number/quire/quire_impl.hpp>#include <universal/number/quire/accumulator.hpp>Macros | |
| #define | QUIRE_ENABLE_LITERALS 1 |
| BEHAVIORAL COMPILATION SWITCHES. | |
| #define | QUIRE_THROW_ARITHMETIC_EXCEPTION 0 |
| #define QUIRE_ENABLE_LITERALS 1 |
BEHAVIORAL COMPILATION SWITCHES.
These live HERE, not only in the umbrella, because core.hpp is a public entry point: quire_impl.hpp tests them in #if directives, so a translation unit that includes only core.hpp would otherwise leave them undefined. That still evaluates to 0 – the intended default – but it is a diagnostic under -Wundef and it makes the core's configuration depend on an include the caller was told they do not need (#1334). The umbrella's own #if !defined guards make this a no-op when both are included.
| #define QUIRE_THROW_ARITHMETIC_EXCEPTION 0 |