Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
twoSum.hpp File Reference

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Macros

#define GEOMETRIC_ROUNDING_CASES   1

Functions

template<unsigned nbits, unsigned es, typename bt>
std::pair< posit< nbits, es, bt >, posit< nbits, es, bt > > sw::universal::twoSum (const posit< nbits, es, bt > &a, const posit< nbits, es, bt > &b)

Macro Definition Documentation

◆ GEOMETRIC_ROUNDING_CASES

#define GEOMETRIC_ROUNDING_CASES   1