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

Classes

struct  sw::universal::bsquorem< nbits, bt >
class  sw::universal::blocksignificand< _nbits, bt >
 a block-based floating-point significand for add/sub in 2's complement of the form ##h.fffff for mul in sign-magnitude form expanded to 0'00001.fffff for div in sign-magnitude form expanded to 00000'00001'fffff More...

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Enumerations

enum class  sw::universal::BitEncoding { sw::universal::Flex , sw::universal::Ones , sw::universal::Twos }

Functions

template<unsigned nbits, typename bt>
constexpr blocksignificand< nbits, bt > sw::universal::twosComplementFree (const blocksignificand< nbits, bt > &a) noexcept