Searched defs:FXBits (Results 1 – 1 of 1) sorted by relevance
25 template <typename T> struct FXBits { struct28 using StorageType = typename fx_rep::StorageType;52 LIBC_INLINE constexpr FXBits() = default; argument54 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() argument67 LIBC_INLINE constexpr StorageType get_fraction() { in get_fraction()71 LIBC_INLINE constexpr StorageType get_integral() { in get_integral()76 LIBC_INLINE constexpr bool get_sign() { in get_sign()81 LIBC_INLINE constexpr int get_exponent() { return fx_rep::FRACTION_LEN; } in get_exponent()83 LIBC_INLINE constexpr void set_fraction(StorageType fraction) { in set_fraction()88 LIBC_INLINE constexpr void set_integral(StorageType integral) { in set_integral()[all …]