Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
posit_fraction.hpp File Reference
#include <algorithm>
#include <universal/utility/exceptions.hpp>
#include <iosfwd>
#include <universal/number/posit/exceptions.hpp>

Classes

class  sw::universal::positFraction< fbits, bt >

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

template<unsigned nfbits, typename bbt>
bool sw::universal::operator== (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)
template<unsigned nfbits, typename bbt>
bool sw::universal::operator!= (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)
template<unsigned nfbits, typename bbt>
bool sw::universal::operator< (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)
template<unsigned nfbits, typename bbt>
bool sw::universal::operator> (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)
template<unsigned nfbits, typename bbt>
bool sw::universal::operator<= (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)
template<unsigned nfbits, typename bbt>
bool sw::universal::operator>= (const positFraction< nfbits, bbt > &lhs, const positFraction< nfbits, bbt > &rhs)