Home
last modified time | relevance | path

Searched defs:DyadicFloat (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A Ddyadic_float.h88 template <size_t Bits> struct DyadicFloat { struct
95 LIBC_INLINE constexpr DyadicFloat() = default; argument
98 LIBC_INLINE constexpr DyadicFloat(T x) { in DyadicFloat() argument
107 LIBC_INLINE constexpr DyadicFloat(Sign s, int e, const MantissaType &m) in DyadicFloat() argument
114 LIBC_INLINE constexpr DyadicFloat &normalize() { in normalize() argument
124 LIBC_INLINE constexpr DyadicFloat &shift_left(unsigned shift_length) { in shift_left() argument
136 LIBC_INLINE constexpr DyadicFloat &shift_right(unsigned shift_length) { in shift_right() argument
152 // Produce a correctly rounded DyadicFloat from a too-large mantissa, argument
170 return DyadicFloat(result_sign, result_exponent, result_mantissa); in round() argument
176 generic_as() const { in generic_as()
[all …]
/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/generic/
H A Dmul.h38 using DyadicFloat = in mul() local
H A Ddiv.h37 using DyadicFloat = in div() local
H A Dadd_sub.h44 using DyadicFloat = in add_or_sub() local
H A DFMA.h122 using DyadicFloat = DyadicFloat<TMP_RESULT_LEN>; local