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

Classes

class  sw::universal::posit_limbs::efloat_environment_guard

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::posit_limbs

Enumerations

enum class  sw::universal::posit_limbs::Saturation { sw::universal::posit_limbs::none , sw::universal::posit_limbs::overflow , sw::universal::posit_limbs::both }

Functions

template<typename Posit, typename Function>
Posit sw::universal::posit_limbs::evaluate (Function &&f, Saturation saturation=Saturation::none)
template<unsigned nbits, unsigned es, typename bt>
efloat_for< nbits > sw::universal::posit_limbs::argument (const posit< nbits, es, bt > &x, unsigned W)