Searched defs:FXBits (Results 1 – 3 of 3) sorted by relevance
28 template <typename T> struct FXBits { struct31 using StorageType = typename fx_rep::StorageType;33 StorageType value;37 static constexpr size_t FRACTION_OFFSET = 0; // Just for completeness61 LIBC_INLINE constexpr FXBits() = default; argument63 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() argument76 LIBC_INLINE constexpr StorageType get_fraction() { in get_fraction()80 LIBC_INLINE constexpr StorageType get_integral() { in get_integral()86 LIBC_INLINE constexpr StorageType get_bits() { in get_bits()91 LIBC_INLINE constexpr bool get_sign() { in get_sign()[all …]
27 template <typename T> struct FXBits { struct30 using StorageType = typename fx_rep::StorageType;54 LIBC_INLINE constexpr FXBits() = default; argument56 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() function69 LIBC_INLINE constexpr StorageType get_fraction() { in get_fraction()73 LIBC_INLINE constexpr StorageType get_integral() { in get_integral()78 LIBC_INLINE constexpr bool get_sign() { in get_sign()83 LIBC_INLINE constexpr int get_exponent() { return fx_rep::FRACTION_LEN; } in get_exponent()85 LIBC_INLINE constexpr void set_fraction(StorageType fraction) { in set_fraction()90 LIBC_INLINE constexpr void set_integral(StorageType integral) { in set_integral()[all …]
27 template <typename T> struct FXBits { struct30 using StorageType = typename fx_rep::StorageType;54 LIBC_INLINE constexpr FXBits() = default; argument56 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() argument69 LIBC_INLINE constexpr StorageType get_fraction() { in get_fraction()73 LIBC_INLINE constexpr StorageType get_integral() { in get_integral()78 LIBC_INLINE constexpr bool get_sign() { in get_sign()83 LIBC_INLINE constexpr int get_exponent() { return fx_rep::FRACTION_LEN; } in get_exponent()85 LIBC_INLINE constexpr void set_fraction(StorageType fraction) { in set_fraction()90 LIBC_INLINE constexpr void set_integral(StorageType integral) { in set_integral()[all …]