3#ifndef TETL_CMATH_NEXTAFTER_HPP
4#define TETL_CMATH_NEXTAFTER_HPP
16[[nodiscard]]
constexpr auto nextafter(T from, T to) -> T
21 if (toBits == fromBits) {
24 if (toBits > fromBits) {
37[[nodiscard]]
constexpr auto nextafter(
float from,
float to)
noexcept ->
float {
return detail::nextafter(from, to); }
38[[nodiscard]]
constexpr auto nextafterf(
float from,
float to)
noexcept ->
float {
return detail::nextafter(from, to); }
39[[nodiscard]]
constexpr auto nextafter(
double from,
double to)
noexcept ->
double
41 return detail::nextafter(from, to);
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 nextafterf(float from, float to) noexcept -> float
Returns the next representable value of from in the direction of to. If from equals to,...
Definition nextafter.hpp:38
constexpr auto nextafter(float from, float to) noexcept -> float
Returns the next representable value of from in the direction of to. If from equals to,...
Definition nextafter.hpp:37
Definition adjacent_find.hpp:8
typename conditional< B, T, F >::type conditional_t
Definition conditional.hpp:21
TETL_BUILTIN_UINT64 uint64_t
Unsigned integer type with width of exactly 64 bits.
Definition uint_t.hpp:20
TETL_BUILTIN_UINT32 uint32_t
Unsigned integer type with width of exactly 32 bits.
Definition uint_t.hpp:17