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

Classes

class  sw::universal::bfloat16

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Macros

#define BFLOAT_ENABLE_LITERALS   1
#define BFLOAT_THROW_ARITHMETIC_EXCEPTION   0

Functions

bfloat16 sw::universal::abs (bfloat16)
constexpr bool sw::universal::operator== (bfloat16 lhs, bfloat16 rhs)
constexpr bool sw::universal::operator!= (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator< (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator> (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator<= (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator>= (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator== (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator!= (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator< (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator> (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator<= (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator>= (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator== (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator!= (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator< (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator> (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator<= (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bool sw::universal::operator>= (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator+ (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator- (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator* (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator/ (bfloat16 lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator+ (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator- (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator* (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator/ (bfloat16 lhs, float rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator+ (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator- (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator* (float lhs, bfloat16 rhs)
BIT_CAST_CONSTEXPR bfloat16 sw::universal::operator/ (float lhs, bfloat16 rhs)

Macro Definition Documentation

◆ BFLOAT_ENABLE_LITERALS

#define BFLOAT_ENABLE_LITERALS   1

◆ BFLOAT_THROW_ARITHMETIC_EXCEPTION

#define BFLOAT_THROW_ARITHMETIC_EXCEPTION   0