3#ifndef TETL_CFLOAT_HALF_HPP
4#define TETL_CFLOAT_HALF_HPP
18 constexpr half() =
default;
25[[nodiscard]]
constexpr auto isfinite(half
arg)
noexcept -> bool;
26[[nodiscard]]
constexpr auto isinf(half
arg)
noexcept -> bool;
27[[nodiscard]]
constexpr auto isnan(half
arg)
noexcept -> bool;
28[[nodiscard]]
constexpr auto isnormal(half
arg)
noexcept -> bool;
29[[nodiscard]]
constexpr auto signbit(half
arg)
noexcept -> bool;
69 auto const mask = detail::exp_mask;
71 return ((bits & mask) != 0) & ((bits & mask) != mask);
constexpr auto bit_cast(From const &src) noexcept -> To
Obtain a value of type To by reinterpreting the object representation of from. Every bit in the value...
Definition bit_cast.hpp:38
constexpr auto arg(complex< T > const &z) noexcept -> T
Definition arg.hpp:15
Definition adjacent_find.hpp:8
constexpr auto isfinite(half arg) noexcept -> bool
Definition half.hpp:48
constexpr auto isinf(half arg) noexcept -> bool
Definition half.hpp:54
TETL_BUILTIN_UINT16 uint16_t
Unsigned integer type with width of exactly 16 bits.
Definition uint_t.hpp:14
constexpr auto signbit(half arg) noexcept -> bool
Definition half.hpp:74
constexpr auto isnormal(half arg) noexcept -> bool
Definition half.hpp:66
constexpr auto isnan(half arg) noexcept -> bool
Definition half.hpp:60
constexpr auto binary
Definition half.hpp:13
etl::uint16_t storage_type
Definition half.hpp:16