|
sigma
1.0.0
|
Rounding and checking policies used by the boost interval sigma wraps. More...
#include <boost/numeric/interval.hpp>#include <cmath>#include <limits>Go to the source code of this file.
Classes | |
| struct | sigma::detail_::rounded_transc_guarded< T > |
| Outward rounding for the transcendental functions. More... | |
Namespaces | |
| namespace | sigma |
| The primary namespace for the sigma library. | |
| namespace | sigma::detail_ |
| The namespace that contains the implementation details of the library. | |
Typedefs | |
| template<typename T> | |
| using | sigma::detail_::interval_policies_t |
| The policies the boost interval underlying sigma::Interval uses. | |
| template<typename T> | |
| using | sigma::detail_::boost_interval_t = boost::numeric::interval<T, interval_policies_t<T>> |
| The boost interval type sigma::Interval wraps. | |
Rounding and checking policies used by the boost interval sigma wraps.
Boost's default policies only round the arithmetic operators; the transcendental functions in boost/numeric/interval/transc.hpp additionally require the rounding policy to supply exp_down(), log_up(), etc. Supplying those, in a way that actually encloses the result, is what this file is for.