Home
last modified time | relevance | path

Searched defs:FXBits (Results 1 – 3 of 3) sorted by relevance

/external/llvm-libc/src/__support/fixed_point/
Dfx_bits.h28 template <typename T> struct FXBits { struct
31 using StorageType = typename fx_rep::StorageType;
33 StorageType value;
37 static constexpr size_t FRACTION_OFFSET = 0; // Just for completeness
61 LIBC_INLINE constexpr FXBits() = default; argument
63 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() argument
76 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 …]
/external/cronet/tot/third_party/llvm-libc/src/src/__support/fixed_point/
Dfx_bits.h27 template <typename T> struct FXBits { struct
30 using StorageType = typename fx_rep::StorageType;
54 LIBC_INLINE constexpr FXBits() = default; argument
56 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() function
69 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 …]
/external/cronet/stable/third_party/llvm-libc/src/src/__support/fixed_point/
Dfx_bits.h27 template <typename T> struct FXBits { struct
30 using StorageType = typename fx_rep::StorageType;
54 LIBC_INLINE constexpr FXBits() = default; argument
56 template <typename XType> LIBC_INLINE constexpr explicit FXBits(XType x) { in FXBits() argument
69 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 …]