Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
stream_utilities.hpp File Reference
#include <cmath>
#include <cstddef>
#include <limits>
#include <type_traits>
#include <universal/number/elreal/block.hpp>
#include <universal/number/elreal/zbcl.hpp>
#include <universal/number/elreal/zbcl_helpers.hpp>
#include <universal/number/elreal/threeAdd.hpp>
#include <universal/number/elreal/negate.hpp>

Classes

struct  sw::universal::detail::nonzero_lead< FpType >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal
namespace  sw::universal::detail

Functions

template<typename FpType>
nonzero_lead< FpType > sw::universal::detail::first_nonzero_block (ZBCL< FpType > s, std::size_t window)
template<typename FpType>
ZBCL< FpType > sw::universal::detail::from_integer (unsigned long long magnitude, bool negative)
template<typename FpType>
bool sw::universal::detail::is_integer (ZBCL< FpType > y, std::size_t window, bool &odd)